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

Popover API Accessibility Issue #37512

Open
TrentHawke opened this issue Jan 6, 2025 · 0 comments
Open

Popover API Accessibility Issue #37512

TrentHawke opened this issue Jan 6, 2025 · 0 comments
Labels
Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@TrentHawke
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Popover_API

What specific section or headline is this issue about?

Browser Compatibility

What information was incorrect, unhelpful, or incomplete?

There seems to be an Accessibility Issue with the HTML Popover API. This might just be a new Bug but if an HTML Popover contains an input of type date then it causes unexpected focus changes when navigating through other elements with the Tab Key.

What did you expect to see?

I was expecting to see some kind of indication that it is a known issue

Do you have any supporting links, references, or citations?

I did test this using the following HTML Markup

<div>
  <button popovertarget="examplePopover">Open Popover</button>
</div>
<div id="examplePopover" popover>
  <div>
    <input type="date" />
  </div>
  <div>
    <input type="text" />
  </div>
</div>

Then clicking on the "Open Popover" button, once the Popover opens, pressing the Tab Key will move the focus to the input date correctly but then pressing the Tab Key again will not move the focus to the next segment of the input date. The input date seems to effect other subsequent focusable elements as well, being unable to tab past the input date and onto other elements in the Popover.

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@TrentHawke TrentHawke added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 6, 2025
@github-actions github-actions bot added the Content:WebAPI Web API docs label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

1 participant