medium10 pts · first answer countsaccessibilitysemantic-html
Clickable div and keyboard users
A team uses <div class="btn" onClick={save}>Save</div> as a button. Keyboard and screen reader users report they cannot use it. What is the best fix?
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