mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
fix(select): change role to listbox (#21609)
fixes https://github.com/ionic-team/ionic/issues/21601
This commit is contained in:
@ -459,7 +459,7 @@ export class Select implements ComponentInterface {
|
|||||||
return (
|
return (
|
||||||
<Host
|
<Host
|
||||||
onClick={this.onClick}
|
onClick={this.onClick}
|
||||||
role="combobox"
|
role="listbox"
|
||||||
aria-haspopup="dialog"
|
aria-haspopup="dialog"
|
||||||
aria-disabled={disabled ? 'true' : null}
|
aria-disabled={disabled ? 'true' : null}
|
||||||
aria-expanded={`${isExpanded}`}
|
aria-expanded={`${isExpanded}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user