hard20 pts · first answer countshtml-cssaccessibilityaria
Which label wins
What accessible name does a screen reader give this input?
<span id="x">Mobile number</span> <label for="p">Phone</label> <input id="p" aria-label="Contact" aria-labelledby="x">
Discussion 0
Join free to post in the discussion.
Related questions
- Semantic element for site navigationFrontend Developer
- Alt text for a decorative imageFrontend Developer
- Linking a label to an inputFrontend Developer
- Choosing a heading levelFrontend Developer
- Minimum text contrast for WCAG AAFrontend Developer
- What the main element is forFrontend Developer
- article versus sectionFrontend Developer
- Link or buttonFrontend Developer