Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

tabindex on timepicker does not work #4569

Closed
getvictor opened this issue Oct 10, 2015 · 4 comments
Closed

tabindex on timepicker does not work #4569

getvictor opened this issue Oct 10, 2015 · 4 comments

Comments

@getvictor
Copy link

When specifying tabindex on timepicker without spinners

<uib-timepicker show-spinners="false" tabindex="8" />

the surrounding table around timepicker is highlighted when getting to the corresponding tabindex, and not the individual inputs. Using Chrome on Mac.

When tabindex is specified, I'd like to see this same tabindex applied to each of the individual input fields of timepicker.

@wesleycho
Copy link
Contributor

Just for clarity, what would your preferred solution be? Would it be for the individual inputs to also inherit the same tabindex (i.e. 8 in this example)?

@wesleycho wesleycho added this to the 1.1 (ARIA Accessibility) milestone Oct 11, 2015
@getvictor
Copy link
Author

@wesleycho Yes, all the individual inputs should get the same tabindex. Elements with the same tabindex are processed in the order they appear. The outer element should not have a tabindex.

Reference: http://www.w3.org/TR/WCAG20-TECHS/H4.html#H4-ex3

@wesleycho
Copy link
Contributor

This means that the tabindex should also be on the links as well.

@wesleycho wesleycho modified the milestones: 0.14.1, 1.1 (ARIA Accessibility) Oct 11, 2015
@getvictor
Copy link
Author

I'm not using the up/down links, which is what I believe you're referring
to. But yes, for accessibility purposes they should be on those links as
well.

On Sun, Oct 11, 2015 at 9:53 AM, Wesley Cho [email protected]
wrote:

This means that the tabindex should also be on the links as well.


Reply to this email directly or view it on GitHub
#4569 (comment)
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants