mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(piker): remove aria-hidden attribute
This commit is contained in:
@@ -703,7 +703,6 @@ export class PickerColumn implements ComponentInterface {
|
||||
{this.renderAssistiveFocusable()}
|
||||
<slot name="prefix"></slot>
|
||||
<div
|
||||
aria-hidden="true"
|
||||
class="picker-opts"
|
||||
ref={(el) => {
|
||||
this.scrollEl = el;
|
||||
@@ -728,23 +727,23 @@ export class PickerColumn implements ComponentInterface {
|
||||
*/
|
||||
tabIndex={-1}
|
||||
>
|
||||
<div class="picker-item-empty" aria-hidden="true">
|
||||
<div class="picker-item-empty">
|
||||
|
||||
</div>
|
||||
<div class="picker-item-empty" aria-hidden="true">
|
||||
<div class="picker-item-empty">
|
||||
|
||||
</div>
|
||||
<div class="picker-item-empty" aria-hidden="true">
|
||||
<div class="picker-item-empty">
|
||||
|
||||
</div>
|
||||
<slot></slot>
|
||||
<div class="picker-item-empty" aria-hidden="true">
|
||||
<div class="picker-item-empty">
|
||||
|
||||
</div>
|
||||
<div class="picker-item-empty" aria-hidden="true">
|
||||
<div class="picker-item-empty">
|
||||
|
||||
</div>
|
||||
<div class="picker-item-empty" aria-hidden="true">
|
||||
<div class="picker-item-empty">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -539,7 +539,6 @@ export class Picker implements ComponentInterface {
|
||||
return (
|
||||
<Host onPointerDown={(ev: PointerEvent) => this.onPointerDown(ev)} onClick={() => this.onClick()}>
|
||||
<input
|
||||
aria-hidden="true"
|
||||
tabindex={-1}
|
||||
inputmode="numeric"
|
||||
type="number"
|
||||
|
||||
Reference in New Issue
Block a user