We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6eaae commit e4d25f1Copy full SHA for e4d25f1
core/src/components/toggle/toggle.tsx
@@ -391,6 +391,7 @@ export class Toggle implements ComponentInterface {
391
return (
392
<Host
393
role="switch"
394
+ aria-checked={`${checked}`}
395
aria-describedby={this.getHintTextID()}
396
aria-invalid={this.getHintTextID() === errorTextId}
397
onClick={this.onClick}
0 commit comments