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

select: how should the button be announced? #1116

Closed
josepharhar opened this issue Oct 24, 2024 · 2 comments
Closed

select: how should the button be announced? #1116

josepharhar opened this issue Oct 24, 2024 · 2 comments
Labels
agenda+ Use this label if you'd like the topic to be added to the meeting agenda select These are issues that relate to the select component

Comments

@josepharhar
Copy link
Collaborator

There was a lot of discussion here about how the author provided <button>, or the select when there is an author provided button, should be announced.

Some cases to consider:

  1. Button with selectedoption
<select>
  <button>
    <selectedoption></selectedoption>
  </button>
  <option>hello</option>
  <option label=labeltext>innertext</option>
</select>
  1. No author provided button
<select>
  <option>hello</option>
  <option label=labeltext>innertext</option>
</select>
  1. Button without selectedoption
<select>
  <button>im a button</button>
  <option>hello</option>
  <option label=labeltext>innertext</option>
</select>
  1. Button with selectedoption and other content
<select>
  <button>
    <selectedoption></selectedoption>
    im a button
  </button>
  <option>hello</option>
  <option label=labeltext>innertext</option>
</select>

Related issue about the label attribute: #1115

@josepharhar josepharhar added select These are issues that relate to the select component agenda+ Use this label if you'd like the topic to be added to the meeting agenda labels Oct 24, 2024
@josepharhar
Copy link
Collaborator Author

@scottaohara

@josepharhar
Copy link
Collaborator Author

Closing in favor of #1117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agenda+ Use this label if you'd like the topic to be added to the meeting agenda select These are issues that relate to the select component
Projects
None yet
Development

No branches or pull requests

1 participant