-
Notifications
You must be signed in to change notification settings - Fork 82
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
query/focusable should be able to provide only-tabbable elements as well #100
Comments
The initial assumption regarding anything that is considered Missing from is/focus-relevant in Firefox: [
"label[tabindex=0]",
"svg a[xlink|href]",
"svg[tabindex=-1] a[xlink|href]",
"svg[focusable=false] a[xlink|href]",
"svg a[xlink|href][tabindex=0]",
"svg a[xlink|href][tabindex=1]",
"svg a[focusable=false]",
"svg a[xlink|href][tabindex=-1]",
"svg{tiny} a[focusable=false]",
"svg{tiny} a[tabindex=-1]",
"svg{tiny}[focusable=false] a"
] Missing from is/focus-relevant in Internet Explorer: [
"svg",
"svg a[xlink|href]",
"svg rect[focusable=true]",
"svg[tabindex=-1]",
"svg[tabindex=-1] a[xlink|href]",
"svg[focusable=false] a[xlink|href]",
"svg:has(a[tabindex=0])",
"svg a[xlink|href][tabindex=0]",
"svg a[xlink|href][tabindex=1]",
"svg{viewbox}",
"svg rect[focusable=true]{viewbox}",
"svg:has(a[tabindex=-1])",
"svg a[xlink|href][tabindex=-1]",
"svg{tiny}",
"svg{tiny} rect[focusable=true]",
"svg{tiny} a[tabindex=-1]",
"svg{tiny} rect[focusable=true][tabindex=-1]",
"svg{tiny}[focusable=false] a"
] Chrome does not suffer from the |
rodneyrehm
added a commit
that referenced
this issue
Jan 26, 2016
rodneyrehm
added a commit
that referenced
this issue
Jan 31, 2016
rodneyrehm
added a commit
that referenced
this issue
Jan 31, 2016
rodneyrehm
added a commit
that referenced
this issue
Feb 2, 2016
rodneyrehm
added a commit
that referenced
this issue
Feb 4, 2016
rodneyrehm
added a commit
that referenced
this issue
Feb 5, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following methods ignore elements that are keyboard-focusable but not script-focusable. While this is the expected use case, considering these methods are for scripting, there is currently no way to identify all tabbable elements, e.g. to visually mark them as such.
To allow both uses a new option
includeOnlyTabbable: true
should be added to the following modules:query/first-tabbable
query/focusable
query/tabbable
query/tabsequence
The effect of this option should be to disengage the
isOnlyTabbable()
constraint inis/focusable
. As all elements passingis/only-tabbable
must already passis/focus-relevant
, no further change should be necessary.In #80 the cores of
is/focus-relevant
andis/tabbable
were refactored to allow specifying options, while maintaining the function signatures - the same should be done tois/focusable
.The text was updated successfully, but these errors were encountered: