fune/browser/base
Anna Yeddi 496eb6907f Bug 1875654 - Ensure the keyboard navigation handler accounts for intentionally non-focusable controls. r=Jamie,Standard8,search-reviewers
Since the keyboar navigation is handled in a custom way on toolbars, it is automatically includes any element with `role="button"` in the custom focus order, overwriting the default behavior. But since we have a limited number of controls that function as a submit buttons for the URL and Search bars and this functionality is redundant for keyboard users (who could press `Enter` instead of navigating to this control and pressing an `Enter`), we want to reduce the strain of navigation and exclude those elements from the focus order - even from the custom focus handling. At the same time, we want to keep the interactive role to allow assistive technology to interact with these element, should their users choose to do so.

In this patch, we are adding new `keyNav` attribute to a programmatic button and ensuring the `browser_toolbarKeyNav.js` handler does not include this element in the custom focus order.  This would remove a keyboard trap created by the regressor bug 1871596 and would allow for better handling of these exceptions in the future.

Differential Revision: https://phabricator.services.mozilla.com/D199309
2024-01-23 17:50:39 +00:00
..
content Bug 1875654 - Ensure the keyboard navigation handler accounts for intentionally non-focusable controls. r=Jamie,Standard8,search-reviewers 2024-01-23 17:50:39 +00:00
jar.mn Bug 1856415 - (Part 1) Updating clear data dialog UI. r=pbz,fluent-reviewers,settings-reviewers,desktop-theme-reviewers,Gijs,dao,flod 2023-12-18 14:41:11 +00:00
moz.build Bug 1869871 - convert perftest.ini -> .toml. r=sparky,perftest-reviewers,necko-reviewers,jesup 2023-12-14 19:41:14 +00:00