mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-07 11:48:19 +02:00
Using autofocus="true" or programmatically calling .focus() when there is no pre-existing focused
element causes the :focus-visible to match.
This patch avoids using autofocus="true" on some of our about: pages, and uses
Element.focus({ preventFocusRing: true }) to avoid that when these pages and dialog
first load. Note that this doesn't prevent the focus ring from _ever_ appear, it just
stops it from appearing on first load.
Differential Revision: https://phabricator.services.mozilla.com/D115062
|
||
|---|---|---|
| .. | ||
| browser.ini | ||
| browser_accessibility.js | ||
| browser_basic.js | ||
| browser_clipboard.js | ||
| browser_edit.js | ||
| browser_locked.js | ||
| browser_observe.js | ||
| browser_search.js | ||
| browser_warning.js | ||
| head.js | ||