-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1811129 - Implement the new dialog initial focus algorithm r=emilio
The main changes of the new algorithm are * Make the dialog focusing steps look at sequentially focusable elements instead of any focusable element. * Make the dialog element itself get focus if it has the autofocus attribute set. * Make the dialog element itself get focus as a fallback instead of focus being "reset" to the body element. Spec PR (merged): whatwg/html#8199 Differential Revision: https://phabricator.services.mozilla.com/D181263
- Loading branch information
Showing
7 changed files
with
28 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 0 additions & 12 deletions
12
...ta/html/semantics/interactive-elements/the-dialog-element/child-sequential-focus.html.ini
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
.../meta/html/semantics/interactive-elements/the-dialog-element/dialog-focus-shadow.html.ini
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...orm/meta/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html.ini
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
...html/semantics/interactive-elements/the-dialog-element/show-modal-focusing-steps.html.ini
This file was deleted.
Oops, something went wrong.