[Bug 21987] Consider adding a sister attribute to act as a toggle to trigger longdesc discoverability.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21987

Charles McCathieNevile <chaals@yandex-team.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Charles McCathieNevile <chaals@yandex-team.ru> ---
I don't think this is necessary. I can't think of anything that could be done
with this that cannot already be done by noting that there is a longdesc
attribute.

In my TellMeMore extensions I use document.querySelectorAll('img[longdesc]') to
get a list of the elements with longdesc.

Doing something in CSS like

  img[longdesc] { border: red dashed 2px}

would provide a border on each image that has a longdesc attribute (there are
obviously more complex things that could be done here, this is just the
simplest I can think of).

  img[longdesc^=#] { border: none}

following the first declaration will cancel the effect for images whose
longdesc is a link internal to the page.

And so on.

So I propose to reject the bug.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 9 May 2013 17:25:58 UTC