hardStudy question · answer published in HTML interview questions, so no pointshtml-cssaccessibilitykeyboard
Focus after client-side navigation
In a single-page app, clicking a nav link swaps the content but keyboard focus stays on the old link and screen readers say nothing. What is the usual 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