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

TearsheetSmall accessibility issue #1147

Open
3 tasks
Khoi-Dinh opened this issue Mar 18, 2022 · 1 comment
Open
3 tasks

TearsheetSmall accessibility issue #1147

Khoi-Dinh opened this issue Mar 18, 2022 · 1 comment
Labels
status: triage type: bug Something isn't working wontfix This will not be worked on

Comments

@Khoi-Dinh
Copy link

Khoi-Dinh commented Mar 18, 2022

Issue: Content is not within a landmark element

Specifics: Violation appears when TearsheetSmall is open, providing the violation issue above 3 times: secondaryButton, heading, and closeButton

  1. <h1 class="security--tearsheet--small__title"><div role="contentinfo" aria-label="Name the policy">Name the policy</div></h1>
  2. <button tabindex="0" class="security--tearsheet--small__footer__button security--tearsheet--small__footer__button--secondary bx--btn bx--btn--xl bx--btn--secondary" type="button">Cancel</button>

3. <button class="security--button--icon security--tearsheet--small__button--close security--button--icon--lg" aria-label="Close" type="button"><svg focusable="false" preserveAspectRatio="xMidYMid meet" xmlns="[http://www.w3.org/2000/svg"](http://www.w3.org/2000/svg%22) fill="currentColor" aria-hidden="true" style="will-change: transform;" width="20" height="20" viewBox="0 0 32 32" class="security--icon"><path d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"></path></svg></button>

box-image-2

Expected behavior

Actual behavior

Steps for reproducing

Affected browsers

What's my browser? and browserl.ist supported browsers

  • /
  • /
  • /

Optional information

Version -

@Khoi-Dinh Khoi-Dinh added status: triage type: bug Something isn't working labels Mar 18, 2022
@stale
Copy link

stale bot commented May 27, 2023

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix This will not be worked on label May 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage type: bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant