You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like <d-checkbox> embeds an <input type=checkbox>, and the focus goes to that node. aria-checked isn't necessary on <input type=checkbox> nodes. It's only a "workaround" for when you have <div> etc. mimicking an <input type=checkbox>. For deliteful, the focus goes to the <input type=checkbox> and therefore aria-checked should be unnecessary.
BTW, I noticed that deliteful is setting aria-disabled and role=checkbox. Both of those are unnecessary too.
According to this (if realiable), when using the role=checkbox, aria-checked is needed.
However, doing some tests with JAWS17, removing role=checkbox from the <input> leaves the widget working fine, as it should. It reacts well when checking/unchecking.
So I would suggest to remove role=checkbox, since it has an implicit role.
The checkbox widget doesn't set the arribute aria-checked when ticking the box.
Tested on its sample page - Buttons.html.
The text was updated successfully, but these errors were encountered: