This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I don't see any use of aria-label or aria-labelledy . Couldn't aria-labelledby be used in the figure examples to create an accessible name for an img element by referencing the figcaption element?
aria-label or aria-labelledy can be used on any element. Is point of the bug that the HTML spec should say that explicitly?
(In reply to jgunder from comment #0) > I don't see any use of aria-label or aria-labelledy . > > Couldn't aria-labelledby be used in the figure examples to create an > accessible name for an img element by referencing the figcaption element? Hi Jon, there is nothing stopping you from doing this. But consider the output for the SR user: <figure> <img src="pussy.jpg"> <figcaption>cure little pussy</figcaption> </figure> "group: cute little pussy" "graphic: cute little pussy" "cute little pussy" In browsers such as firefox/chrome, figcaption (as defined )provides the acc name for the figure element which is announced. This already causes repetition, because AT have not implemented any logic around the figure/figcaption markup pattern.