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

Mark Safari Tech Preview as partially supporting source option for popover API #25964

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lukewarlow
Copy link
Contributor

Also mark Chrome support as partial due to missing focus behavior

Summary

Mark Safari Tech Preview as partially supporting source option for popover API

Also mark Chrome support as partial due to missing focus behavior

Test results and supporting details

Manually tested STP support by running https://wpt.live/html/semantics/popovers/imperative-invokers.html

Related issues

…pover API

Also mark Chrome support as partial due to missing focus behavior
@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:s [PR only] 7-24 LoC changed labels Feb 19, 2025
"version_added": "133"
"version_added": "133",
"partial_implementation": true,
"notes": "This doesn't apply the focus ordering change. See [bug 383343310](https://crbug.com/383343310)."
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you elaborate what "focus ordering change" refers to here, and why it is specific to the source option?

PS: While we're here, maybe we could add this spec_url: https://html.spec.whatwg.org/multipage/dom.html#dom-showpopoveroptions-source

Copy link
Contributor

Choose a reason for hiding this comment

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

If I understand this correctly, we could rephrase it for users as follows:

When using this option, the focus order doesn't change, so the popover does not become the next focus element.

You might be able to help out making this more idiomatic.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"notes": "This doesn't apply the focus ordering change. See [bug 383343310](https://crbug.com/383343310)."
"notes": "When using this option, the focus order doesn't change, so the popover does not become the next focus element. See [bug 383343310](https://crbug.com/383343310)."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That sounds good and yes I'll add the spec URL too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API size:s [PR only] 7-24 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants