New properties for StatusNotifierItem: Accessible Label (1/3)

Aurélien Gâteau aurelien.gateau at canonical.com
Mon Feb 7 16:25:59 CET 2011


> > 
> > What would help is if the tooltip was using semantic markup, instead of a
> > subset of html. Think about something like this:
> > 
> > <tooltip>
> >   <title>Amarok</title>
> >   <icon src="amarok.png" alt="Amarok"/>
> >   <body>Currently playing: Qt 4 dance by Trolltech</body>
> > </tooltip>
> > 
> > With such a format, it would be possible to extract meaningful information
> > for a11y purpose.
> > 
> > Heck, this could even be somehow standardized to also work for
> > notifications (/me looks at this thread slowly drowning into markup
> > bikeshed)
> 
> title and icons are already outside the body in the spec and the title can't 
> have html
> th tooltip is a single proprty, that is a struct unfolded as this
> icon (name or binary dump as usual)
> title (short, plain text, must be meaningful and always present)
> subtitle (optional, can have html)

Ohhh... my memory is failing me. Indeed, tooltips are actually not a single 
field. With this in mind, I agree using the tooltip title should be good 
enough. What do you think, Ted?

Aurélien


More information about the Plasma-devel mailing list