Comments (2)
After some further investigation, I tend to think our approach should be considered valid.
In this document there's a paragraph about how comboboxes should be labelled, that reads:
If the combobox has a visible label and the combobox element is an HTML element that can be labelled using the HTML label element (e.g., the input element), it is labeled using the label element. Otherwise, if it has a visible label, the combobox element has
aria-labelledby
set to a value that refers to the labelling element. Otherwise, the combobox element has a label provided byaria-label
.
The first part is the one that applies to us. The SelectNext
component wraps a <button />
with an optional id
attribute, that can then be referenced via for
attribute from a label.
According to this other document, buttons are among the valid elements to be referenced by labels:
Elements that can be associated with a
<label>
element include<button>
,<input>
(except for type="hidden"),<meter>
,<output>
,<progress>
,<select>
and<textarea>
.
from client.
I have reported this to axe-core just reported it dequelabs/axe-core#4235
That provides all the information needed to reproduce this.
from client.
Related Issues (20)
- Accessibility issues from Jan 2024 review HOT 1
- Make documentation around iframe permissions more generic
- Notebook modal dialog is not properly represented as a dialog
- Incorrect use of `aria-pressed` for sidebar collapse/expand button
- `aria-pressed` not used for "Show highlights" button
- Annotation/Reply body text areas accessibility improvements
- Update PDF.js (2024 edition)
- `<article>` label is the same for every annotation by the same author HOT 2
- Add status message confirming when a highlight is created HOT 1
- Consider keeping sidebar state when opening modals via native `dialog`.
- Use a native `dialog` in user profile modal
- Indicate links that open in new tabs to assistive technologies HOT 1
- Improve close button label specificity
- Can't annotate https://community.canvaslms.com/ (issue with tsParticles) HOT 2
- Validate max length for tags
- Error with iframe `allow` attribute when annotating pages on archive.org HOT 6
- Migrate to eslint flat config HOT 1
- Create a new toast-like notification that is displayed when there are pending updates HOT 2
- Add accessible `tabpanel` role to the panels handled by selection tabs in the sidebar
- Hide "annotate" and "highlight" icons from "Getting started" tab to screen readers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client.