mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(accesibility): boolean aria-* properties
This commit is contained in:
@ -68,7 +68,7 @@ export class SegmentButton {
|
||||
render() {
|
||||
return [
|
||||
<button
|
||||
aria-pressed={this.checked}
|
||||
aria-pressed={this.checked ? 'true' : null}
|
||||
class="segment-button-native"
|
||||
disabled={this.disabled}
|
||||
onClick={() => this.checked = true }>
|
||||
|
Reference in New Issue
Block a user