Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make checked optional on IAction to differentiate false from never checked #135605

Merged
merged 1 commit into from Oct 22, 2021

Conversation

sbatten
Copy link
Member

@sbatten sbatten commented Oct 21, 2021

This PR fixes #120597

The problem that I'm trying to solve is that menu entries are controlled by IAction and those only allow for checked to be true or false. However, when checked is false, we don't know if it could ever be true which makes it impossible set the appropriate aria labels.

Sending this through PR because while the solution works, I am spanning display vs model logic and this might not be the preferred approach.

@sbatten sbatten self-assigned this Oct 21, 2021
@sbatten sbatten added this to the October 2021 milestone Oct 21, 2021
@sbatten sbatten merged commit f21c1a3 into main Oct 22, 2021
@sbatten sbatten deleted the sbatten/120597 branch October 22, 2021 15:50
@isidorn
Copy link
Contributor

isidorn commented Oct 23, 2021

@sbatten thanks a lot for fixing this, the changes look great 👏

@github-actions github-actions bot locked and limited conversation to collaborators Dec 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Accessibility] Narrator/NVDA is not reading the unchecked status for the list item
3 participants