[whatwg] Behavior of anchor element when wrapping floated images

I've ran into the following layout issue while using the accessibility audit
extension on Chrome.
https://github.com/GoogleChrome/accessibility-developer-tools/issues/64

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
this?

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.

-Bruno

Received on Monday, 14 October 2013 23:05:26 UTC