mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +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
|
<button
|
||||||
type={type}
|
type={type}
|
||||||
aria-pressed={checked ? 'true' : null}
|
aria-pressed={checked ? 'true' : 'false'}
|
||||||
class="button-native"
|
class="button-native"
|
||||||
disabled={disabled}
|
disabled={disabled}
|
||||||
>
|
>
|
||||||
|
Reference in New Issue
Block a user