Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate how we name image button with an empty alt #1181

Closed
Jym77 opened this issue Jul 8, 2022 · 1 comment
Closed

Investigate how we name image button with an empty alt #1181

Jym77 opened this issue Jul 8, 2022 · 1 comment
Labels
Research Task that need some investigation and experiment

Comments

@Jym77
Copy link
Contributor

Jym77 commented Jul 8, 2022

See the clarification at w3c/html-aam#414 (comment)

@Jym77 Jym77 added the Research Task that need some investigation and experiment label Jul 8, 2022
@Jym77
Copy link
Contributor Author

Jym77 commented Jul 12, 2022

  <input type="image" aria-label="aria-label only" />
  <!-- name: aria-label only -->

  <input
    type="image"
    aria-label="label alt and title, use label"
    alt="label alt and title, use alt"
    title="label alt and title, use title"
  />
  <!-- name: label alt and title, use label -->

  <input type="image" alt="alt only" />
  <!-- name: alt only -->

  <input type="image" aria-label="" alt="empty label, alt" />
  <!-- name: empty label, alt -->

  <input type="image" title="title only" />
  <!-- name: title only -->

  <input type="image" aria-label="" title="empty label, title" />
  <!-- name: empty label, title -->

  <input type="image" alt="" title="empty alt, title" />
  <!-- name: empty alt, title -->

  <input
    type="image"
    aria-label=""
    alt=""
    title="empty label, empty alt, title"
  />
  <!-- name: empty label, empty alt, title -->

  <input type="image" aria-label="" alt="" title="" />
  <!-- name: Submit Query -->

So, we seem to be correctly going to next step when encountering an empty string, which is the AAM intention 💯

Closing this.

@Jym77 Jym77 closed this as completed Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Research Task that need some investigation and experiment
Projects
None yet
Development

No branches or pull requests

1 participant