- 🇨🇦Canada mgifford Ottawa, Ontario
Here is some documentation around this from the GDS https://design-system.service.gov.uk/get-started/focus-states/
- Status changed to Needs work
over 1 year ago 8:57pm 30 May 2023 - 🇨🇦Canada mgifford Ottawa, Ontario
@pameeela I'm moving this back to Needs work, with a clarification. Using the default browser focus/outline is ok. But if you look at the keyboard focus state examples above, you can see that the default looks weak by comparison. It's even hard to read "tag2" because the blue line is so close around that.
It's just much less pronounced and less designed as it is now. It just looks like an afterthought letting the browser determine this. It would be more clearly an accessible theme if the focus styling was considered and aligned with the rest of the look/feel of the core Drupal themes.
Just closing another issue and bringing forward this comment from that thread:
https://www.drupal.org/project/drupal/issues/2942487#comment-12645241 🐛 Improve link styles for better accessibility Closed: duplicateOutline it's default styles to mark link or any interactive element as focused (for major browsers). Advantage of outline that it can be added not only for links but for other elements and styles will be consistence. Plus it's possible to adjust outline color according to styleguide. And practice shows that best way to highlight focused items its to use outline, its more visually noticeable. Underline and color change its also good practice but its can be added as additional to outline.