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

A11Y: SVG of notched-outline should have focusable="false" attribute for IE11 #3582

Closed
mathiasschopmans opened this issue Sep 18, 2018 · 2 comments · Fixed by #4035
Closed
Milestone

Comments

@mathiasschopmans
Copy link
Contributor

What MDC Web Version are you using?

  • Version: latest / 0.39.x
  • Components: textfield with outline

What browser(s) is this bug affecting?

Internet Explorer 11

What OS are you using?

Windows 7 (modern.ie virtual box virtual machine)

What are the steps to reproduce the bug?

The bug can be reproduced, when viewing the docs with the mentioned browser.

What is the expected behavior?

  • The SVG element shouldn't be focusable
  • Focus should move to the next visible input-field (Dense)

What is the actual behavior?

  • In IE11 the SVG will gain the focus therefore you need to
  • press "tab" again to move the focus to the second element

Any other information you believe would be useful?

This can be fixed via the focusable="false" attribute:

<svg focusable="false">
    <path class="mdc-notched-outline__path" d=""/>
</svg>

If this issue will be accpeted, there README.mds of textfield and notched outline needs to be adapted and examples needs to be updated.

@kfranqueiro
Copy link
Contributor

This will be resolved with #4035, because notched outline will no longer use SVG.

@mathiasschopmans
Copy link
Contributor Author

Awesome news.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants