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)
- 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
- Consider automatically closing the help panel if auto-opened and user creates annotations HOT 2
- Optionally preserve (carry over) tags for the ensuing annotation
- can't log in at Edge add-on HOT 7
- Multiple annotations by the same person have the same accessible title HOT 3
- Annotation cards can be interacted with the mouse but not with the keyboard
- Reconsider the usage of "dialogs" for non-modal sidebar panels
- When loading pending updates, consider scrolling to the "closest" one, not the latest one HOT 2
- Incorrect Conversion of Overlapping Highlights or Notes Upon Page Navigation HOT 5
- Adder not fully visible due to z-index miscalculation
- Chrome extension doesn't open H overlay on Reddit.com HOT 1
- Hypothesis expects Host in parent frame, not in any ancestor or top frame HOT 2
- Whenever an iframe changes location Hypothesis needs to be injected again HOT 2
- Mechanism for disabling creating annotations and displaying highlights on the host frame for enable-annotations iframe use cases HOT 1
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.