File tree Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Expand file tree Collapse file tree 2 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -715,24 +715,16 @@ export class PickerColumn implements ComponentInterface {
715715 * This causes keyboard navigation to focus to this
716716 * element instead of going to the next element in
717717 * the tab order.
718- *
719- * The desired behavior is for the user to be able to
720- * focus the assistive focusable element and tab to
721- * the next element in the tab order. Instead of tabbing
722- * to this element.
723- *
724- * To prevent this, we set the tabIndex to -1. This
725- * will match the behavior of the other browsers.
726718 */
727- tabIndex = { - 1 }
719+ tabIndex = { 0 }
728720 >
729- < div class = "picker-item-empty" > </ div >
730- < div class = "picker-item-empty" > </ div >
731- < div class = "picker-item-empty" > </ div >
721+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
722+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
723+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
732724 < slot > </ slot >
733- < div class = "picker-item-empty" > </ div >
734- < div class = "picker-item-empty" > </ div >
735- < div class = "picker-item-empty" > </ div >
725+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
726+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
727+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
736728 </ div >
737729 < slot name = "suffix" > </ slot >
738730 </ Host >
Original file line number Diff line number Diff line change @@ -537,6 +537,7 @@ export class Picker implements ComponentInterface {
537537 return (
538538 < Host onPointerDown = { ( ev : PointerEvent ) => this . onPointerDown ( ev ) } onClick = { ( ) => this . onClick ( ) } >
539539 < input
540+ aria-hidden = "true"
540541 tabindex = { - 1 }
541542 inputmode = "numeric"
542543 type = "number"
You can’t perform that action at this time.
0 commit comments