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 @@ -716,24 +716,16 @@ export class PickerColumn implements ComponentInterface {
716716 * This causes keyboard navigation to focus to this
717717 * element instead of going to the next element in
718718 * the tab order.
719- *
720- * The desired behavior is for the user to be able to
721- * focus the assistive focusable element and tab to
722- * the next element in the tab order. Instead of tabbing
723- * to this element.
724- *
725- * To prevent this, we set the tabIndex to -1. This
726- * will match the behavior of the other browsers.
727719 */
728- tabIndex = { - 1 }
720+ tabIndex = { 0 }
729721 >
730- < div class = "picker-item-empty" > </ div >
731- < div class = "picker-item-empty" > </ div >
732- < div class = "picker-item-empty" > </ div >
722+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
723+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
724+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
733725 < slot > </ slot >
734- < div class = "picker-item-empty" > </ div >
735- < div class = "picker-item-empty" > </ div >
736- < div class = "picker-item-empty" > </ div >
726+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
727+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
728+ < div class = "picker-item-empty" aria-hidden = "true" > </ div >
737729 </ div >
738730 < slot name = "suffix" > </ slot >
739731 </ Host >
Original file line number Diff line number Diff line change @@ -539,6 +539,7 @@ export class Picker implements ComponentInterface {
539539 return (
540540 < Host onPointerDown = { ( ev : PointerEvent ) => this . onPointerDown ( ev ) } onClick = { ( ) => this . onClick ( ) } >
541541 < input
542+ aria-hidden = "true"
542543 tabindex = { - 1 }
543544 inputmode = "numeric"
544545 type = "number"
You can’t perform that action at this time.
0 commit comments