[whatwg] Behavior of anchor element when wrapping floated images

Bruno Racineux bruno at hexanet.net
Mon Oct 14 16:04:59 PDT 2013

I've ran into the following layout issue while using the accessibility audit
extension on Chrome.

In brief, there is an accessibility issue with floated images within an
anchor element,
which is present on the web on a potentially large scale, making links to
images invisible to keyboard readers.

Should the anchor tag be made to wrap around a floated image to address

Presumably, it'd think the container size should match that of the clickable
area? (instead of being 0 0)

Or should a recommendation be made to float the anchor instead as the only
way to get around this?

I would appreciate some feedback.


More information about the whatwg mailing list