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

remove usecases of popover with timeout #34795

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Conversation

Jxck
Copy link
Contributor

@Jxck Jxck commented Jul 12, 2024

Description

as mentioned by @keithamus at whatwg/html#10428 (comment)
closing popover with timeout (time based UI) is not in conformance with WCAG 2.2.3.

Motivation

Removing toast (popover with timeout) example from MDN to prevent incorrect usage from spreading.

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

Related issues and pull requests

@Jxck Jxck requested a review from a team as a code owner July 12, 2024 05:00
@Jxck Jxck requested review from sideshowbarker and removed request for a team July 12, 2024 05:00
@github-actions github-actions bot added Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed labels Jul 12, 2024
@Josh-Cena Josh-Cena requested review from chrisdavidmills and removed request for sideshowbarker July 12, 2024 06:40
@sideshowbarker sideshowbarker merged commit ed5b3c7 into mdn:main Jul 12, 2024
7 checks passed
@Jxck Jxck deleted the popover branch October 14, 2024 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

closing popover with timer is not in conformance with WCAG recommendation
2 participants