Tooling: global test utility for focused components when disabled/loading #2532
Labels
0 - new
New issues that need assignment.
calcite-components
Issues specific to the @esri/calcite-components package.
estimate - 3
A day or two of work, likely requires updates to tests.
p - low
Issue is non core or affecting less that 10% of people using the library
testing
Issues related to automated or manual testing.
tooling
Issues relating to build system fixes or improvements.
Milestone
Summary
I've noticed a few "control" components that when disabled, they can still be focusable. For example, you can still tab to a disabled calcite-input element and hit enter on it.
#2378 (comment)
Measure of Success
We should setup a global test to test any component that has a disabled or loading property to make sure that it cannot be tabbed to nor any of its child elements can be tabbed into.
If we want to take this one step further, we could make sure that when the components is not disabled or loading, only 1 element within the component is focusable at a time. That might be out of scope for this test though.
Resources
#2378
The text was updated successfully, but these errors were encountered: