accessibility-developer-tools icon indicating copy to clipboard operation
accessibility-developer-tools copied to clipboard

label detection: should imgs w/ non-empty alt-tags count as labels?

Open ewinslow opened this issue 9 years ago • 2 comments

I have some HTML like so:

<button>
  <img src="./send.png" alt="Send">
</button>

Seems like this button should count as being labeled, but it's flagged as unlabeled.

Is this by design or just a bug in detecting valid labels?

ewinslow avatar Apr 01 '16 22:04 ewinslow

Hey @ewinslow,

Is it being flagged with the chrome extension? I ran an audit on http://output.jsbin.com/revakixiba and it doesn't seem to report any errors. Might be something surrounding the button - happy to dive in!

a11y developer tools audit results, with "controls should have label" not present

jdan avatar Apr 02 '16 13:04 jdan

It's from whatever is currently checked in to google3.

ewinslow avatar Apr 02 '16 22:04 ewinslow