Open
Description
As we look to update the rules format to include state and subjective applicability, I wanted to create a single issue to connect all of the information/discussion that has occurred on these subjects so I can easily find and reference them.
- ACT_States_draft.txt Contains the results from a discussion in early 2021 about how we might handle state within rules. The gist at the time was to rely on css psuedo classes since they were objective measures of states and transitions whereas JavaScript DOM manipulation were not. However, as we will likely be starting to allow subjective applicabilities, we may need to revisit this state definition.
- How to test widgets in different states? #1511 Shows possibly the earliest issue with thoughts about how to incorporate state.
- New Rule: inline link in paragraph is distinguishable be4d0c #1010 and New rule: "Color contrast for widget" #1455 show possible implementations using the decisions made in the states draft above.
These will be good resources to get us onto the same page with what has been done. I think a few open questions that we still need to answer are:
- What rules will need state? We have some rules that implicitly use state like Block of repeated content is collapsible where it could have included states for the content being open and closed and the expectation was that a transition existed. However, it instead easily abstracts this to a higher level in the expectation to ignore state and transitions all together:
there exists an instrument to make all nodes in this block not visible; and
there exists an instrument to remove all nodes in this block from the accessibility tree.
- Are there rules that don't currently use state that would be more easily explained if we were to use state?
- If we allow subjective applicability statements, that opens the possibility of using JavaScript manipulations (e.g., "menu expanded") as state and state transitions definitions. How do we constrain this language to improve cohesiveness between rules?
Metadata
Metadata
Assignees
Labels
No labels