Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visible focus and active styles for Windows high contrast mode #16554

Merged
merged 2 commits into from
Jul 30, 2019

Conversation

tellthemachines
Copy link
Contributor

Description

Removed the negative outline-offsets that were making outlines hard to see;
Added focus outline for calendar buttons (the ones for navigating from month to month);
Added thin outline for color picker buttons to be visible;
Added thin dotted outlines for active states in toolbar. (Would appreciate design input on this - settled for dotted because a thin solid outline was hard to tell apart from the toolbar outline itself - see attached screenshots.)

How has this been tested?

Tested locally on Windows 10 set to high contrast mode, with Edge, IE and Firefox.
Used keyboard to tab through several blocks as well as the Block and Document sections of the sidebar.

Screenshots

color_settings_hc

Toolbar on Edge:

toolbar_Edge

Toolbar on Firefox:

toolbar_Firefox

Toolbar on IE:

toolbar_IE

Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows the accessibility standards.
  • My code has proper inline documentation.
  • I've included developer documentation if appropriate.

@tellthemachines tellthemachines added [a11y] Color Contrast [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). Needs Accessibility Feedback Need input from accessibility Needs Design Feedback Needs general design feedback. labels Jul 12, 2019
@afercia
Copy link
Contributor

afercia commented Jul 12, 2019

Thanks @tellthemachines ! Looks good from an accessibility perspective!

@afercia afercia removed the Needs Accessibility Feedback Need input from accessibility label Jul 12, 2019
@tellthemachines tellthemachines force-pushed the fix/visible-states-high-contrast branch from 702de4a to 0e8c1f3 Compare July 29, 2019 04:04
Copy link
Contributor

@draganescu draganescu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does what it says on the box.

@tellthemachines tellthemachines merged commit 9446f27 into master Jul 30, 2019
@github-actions github-actions bot added this to the Gutenberg 6.3 milestone Jul 30, 2019
@mtias mtias deleted the fix/visible-states-high-contrast branch August 3, 2019 17:25
@klihelp
Copy link

klihelp commented Aug 14, 2019

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). Needs Design Feedback Needs general design feedback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants