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

core: Ignore non-tabbable objects from tab ordering #15864

Merged
merged 2 commits into from Apr 4, 2024

Conversation

kjarosh
Copy link
Contributor

@kjarosh kjarosh commented Apr 3, 2024

Related to #5443, #15851.

These objects include:

  • invisible objects along with their children,
  • non-editable text fields.

The method is_tab_enabled is renamed to is_tabbable, as it no longer represents the tabEnabled property value, but also incorporates other logic.

This PR significantly improves the tab behavior and automatic ordering.

@Dinnerbone
Copy link
Contributor

"tabbable" is a bit funky but I'll allow it :D

These objects include:
* invisible objects along with their children,
* non-editable text fields.

The method `is_tab_enabled` is renamed to `is_tabbable`, as it no
longer represents the `tabEnabled` property value, but also
incorporates other logic.
This test verifies what objects are tabbable by default
and after setting tabEnable & tabIndex. This test includes:
* invisible objects,
* objects with 0x0 size,
* object outside of visible window bound,
* objects within invisible containers,
* non-selectable texts,
* non-editable texts.
@torokati44
Copy link
Member

w3c/aria#225 (comment)

@Dinnerbone Dinnerbone enabled auto-merge (rebase) April 4, 2024 20:41
@Dinnerbone Dinnerbone merged commit 6867904 into ruffle-rs:master Apr 4, 2024
17 checks passed
@kjarosh kjarosh deleted the tabbable branch April 4, 2024 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants