[html4all] role attribute keywords for embedded media
Leif Halvard Silli
lhs at malform.no
Thu Aug 21 20:25:43 PDT 2008
Robert J Burns 2008-08-21 22.41:
> After recent discussions with Leif and Gregory regarding role keywords
> for embedded media, I've added some lists of keywords to the wiki page
> Gregory started. [...] [1]
Excellent.
> I think one of the great advantages to this role approach is it
> would really help guide authors on inputting alt text that
> genuinely met the requirements for creating accessible content.
And in that regard, for what the Wiki page call 'layout or
spacer', how about role="space" instead, to signify images which
represent space, and therefore a space character as fallback?
Btw, is role=richtext smart? And where is role=text in the Wiki?
You link "richtext" to the fallback requirements, it could seem.
But I think @role is linked to the very element. To explain why I
think it is bad, consider XHTML 2, where e.g. an H2 element could
contain an textimage, with the same text in the fallback.
<h2 src=image>A little heading.</h2>
What role would that H2-image play then? Richtext? I guess no. But
the moment I emphasized one word in the heading, then it should?
Richtext would also be easy to misunderstand, as many simply
consider any format where bold, italics etc is /possible/ as rich
text. I think role=text would be good enough.
But perhaps, instead, there should be a role to signify that
something is embedded?
> [1]: <http://esw.w3.org/topic/PF/XTech/HTML5/RoleAttribute#head-35490581f69f2d7a9157e4ba18f3a20a18956cac>
--
leif halvard silli
More information about the List_HTML4all.org
mailing list