umbraco / Umbraco-CMS.Accessibility.Issues

6 stars 1 forks source link

Search and Help - Insufficient focus states #16

Closed umbrabot closed 1 year ago

umbrabot commented 2 years ago

Search and Help have insufficient focus states

Steps to replicate:

  1. Navigate to top navigation using a keyboard
  2. Focus on the Search or Help icon (focus missing/not clear)

Issue: Visible focus: Components must provide a visible indication when they have the input focus

Why it matters: Keyboard users need to know which component currently has the input focus so they can predict the results of their key presses. By default, web browsers indicate focus visually, but custom programming, styling, and scripting can disrupt it.

How to fix: The fix for no visible focus depends on its cause.

W3 reference: https://www.w3.org/WAI/WCAG22/Understanding/focus-visible.html