mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(segment-button): screen readers now announce selected state properly (#21273)
This commit is contained in:
@ -101,7 +101,7 @@ export class SegmentButton implements ComponentInterface, ButtonInterface {
|
||||
>
|
||||
<button
|
||||
type={type}
|
||||
aria-pressed={checked ? 'true' : null}
|
||||
aria-pressed={checked ? 'true' : 'false'}
|
||||
class="button-native"
|
||||
disabled={disabled}
|
||||
>
|
||||
|
Reference in New Issue
Block a user