fix(inputs): fix aria with shadow-dom (#16329)

This commit is contained in:
Manu MA
2018-11-16 19:26:55 +01:00
committed by GitHub
parent 10971cc3ca
commit fd79b57748
41 changed files with 399 additions and 327 deletions

View File

@ -69,6 +69,8 @@ export class SegmentButton implements ComponentInterface {
const { disabled, checked, color } = this;
return {
'ion-activatable': 'instant',
'aria-disabled': this.disabled ? 'true' : null,
class: {
...createColorClasses(color),
'segment-button-disabled': disabled,