You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pages affected: all component pages
Issue: Code blocks cannot be "scrolled" by keyboard users (fails WCAG guideline 2.1.1 Keyboard)
Resolution: Give the block focus or implement a "copy code" button as in the gov.uk design system
The text was updated successfully, but these errors were encountered:
karypun
changed the title
Accessibility fixes
Accessibility issue 1
Jun 23, 2021
karypun
changed the title
Accessibility issue 1
Accessibility issue 1 - provide copy code button to help keyboard users
Jun 23, 2021
This is a bit tricky as we don't currently run with client-side rendering.
Normally in React you'd just define an onClick function to populate the clipboard.
I'm not sure about a nice way to do this without client-side rendering. I'd need to think about it.
Pages affected: all component pages
Issue: Code blocks cannot be "scrolled" by keyboard users (fails WCAG guideline 2.1.1 Keyboard)
Resolution: Give the block focus or implement a "copy code" button as in the gov.uk design system
The text was updated successfully, but these errors were encountered: