Re: Success criteria speak for themselves

Hmmmm, it could be interesting...

<p><span aria-custom="film">Blade Runner</span> is a <span 
aria-custom="year">1982</span> <span aria-custom="genre">science 
fiction</span> thriller film directed by <span 
aria-custom="director">Ridley Scott</span>...</p>

The screen reader could have a quick setting to enable / disable the 
reading of these custom info. And low vision (or sighted) users could 
display these custom semantics using something like:

[aria-custom]::before {
   content: "[" attr('aria-custom') "]";
}
[aria-custom]::after {
   content: "[/" attr('aria-custom') "]";
}


Cheers,
Ramón.


James "brainstormed":

> I haven't thought this out very deeply. I wonder if an ARIA attribute could be created called AriaCustom, or some such name, and the text in the quotes could say whatever the developer needs to convey. This would probably be less than an optimal fix, but would also save from coming up with endless semantic hacks. Again, not totally thought out. End of brain storm.

Received on Friday, 21 February 2014 00:31:14 UTC