Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-core] enhance Keyboard Focus styles to pass '2.4.11 Focus Visible' #3174

Closed
1 task
neilpfeiffer opened this issue Sep 25, 2020 · 3 comments
Closed
1 task

Comments

@neilpfeiffer
Copy link
Member

neilpfeiffer commented Sep 25, 2020

Feature Request

Description

WCAG 2.1 (Level AA) introduced criterion 2.4.11: Focus Visible (Enhanced) which raises the WCAG 2 (Level A) 2.4.7: Focus Visible criterion standard of when a user interface element displays a visible keyboard focus that it's color contrast ratio be at least 3:1 or thickness of at least 2 CSS pixels.

All interactive terra elements have a visible keyboard focus style present, but not tested to see if they meet automated AXE testing for the 2.4.7 / 2.4.11 criterion. All components in tera-core need to be audited and provide updated styling as needed, as well as adding any appropriate additional tests for confirmation of pass/fail.


.

Reference Context / Screenshots

Example: focus styling for terra-button does not meet the color contrast ratio or thickness rule when tested:

image

Example: focus styling for an Icon Button using the information icon:

Screenshot 2021-01-12 at 2 32 09 PM

Solution

Audit, Add testing, and UX to provide appropriate changes to all components in terra-core

Components affected:

  • TODO: list out each component needing update here...

Related Issues

add related issue numbers

@neilpfeiffer neilpfeiffer changed the title [terra-core] Update Keyboard Focus styles to pass '2.4.11 Focus Visible (Enhanced)' [terra-core] enhance Keyboard Focus styles to pass '2.4.11 Focus Visible (Enhanced)' Sep 25, 2020
@neilpfeiffer neilpfeiffer changed the title [terra-core] enhance Keyboard Focus styles to pass '2.4.11 Focus Visible (Enhanced)' [terra-core] enhance Keyboard Focus styles to pass '2.4.11 Focus Visible' Sep 25, 2020
@neilpfeiffer neilpfeiffer added this to the Backlog milestone Sep 25, 2020
@neilpfeiffer
Copy link
Member Author

Keeping blocked on needing UX + A11Y input. Backlogging as future enhancement.

@neilpfeiffer
Copy link
Member Author

Closing a duplicate issue terra-core #3304 (closed) and transferring the details to this issue as it's replacement.

@stale
Copy link

stale bot commented Oct 4, 2021

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed in seven days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Oct 4, 2021
@stale stale bot closed this as completed Oct 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant