Skip to content

fix(form-field): inaccessible in high contrast mode #11736

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

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

crisbeto
Copy link
Member

@crisbeto crisbeto commented Jun 10, 2018

Fixes the following issues that made the form field hard to use in high contrast mode:

  • Hides the infix border in high contrast mode so it doesn't render as solid yellow/white bars.
  • Fixes the underlines and underline ripples not being rendered.
  • Fixes the fill appearance blending in with the background.

Fixes #6257.
Fixes #6383.
Fixes #9009.

Before and after for reference:
angular_material_ -_microsoft_edge_2018-06-10_11-32-24
angular_material_ -_microsoft_edge_2018-06-10_11-25-10

Fixes the following issues that made the form field hard to use in high contrast mode:
* Hides the infix border in high contrast mode so it doesn't render as solid yellow/white bars.
* Fixes the underlines and underline ripples not being rendered.
* Fixes the `fill` appearance blending in with the background.

Fixes angular#6257.
Fixes angular#6383.
Fixes angular#9009.
@crisbeto crisbeto added the Accessibility This issue is related to accessibility (a11y) label Jun 10, 2018
@crisbeto crisbeto requested a review from mmalerba as a code owner June 10, 2018 09:32
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jun 10, 2018
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

Very nice workaround for the border

@jelbourn jelbourn added pr: lgtm action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Jun 11, 2018
@jelbourn jelbourn merged commit 0a39595 into angular:master Jun 12, 2018
@mmalerba
Copy link
Contributor

Nice! @crisbeto did you verify that the baseline alignment is still correct after this change?

@crisbeto
Copy link
Member Author

Yeah, this change doesn’t affect the layout at all since it keeps the border in place.

victoriaaa234 pushed a commit that referenced this pull request Jul 25, 2018
Fixes the following issues that made the form field hard to use in high contrast mode:
* Hides the infix border in high contrast mode so it doesn't render as solid yellow/white bars.
* Fixes the underlines and underline ripples not being rendered.
* Fixes the `fill` appearance blending in with the background.

Fixes #6257.
Fixes #6383.
Fixes #9009.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accessibility This issue is related to accessibility (a11y) action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement target: patch This PR is targeted for the next patch release
Projects
None yet
4 participants