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
Some text appear as text on the page without being in a DOM text node, typically in a Submit button: <input type="submit" value="Next" /> has a text of Next and <input type="submit" /> has a text of (localised) Submit. The rules currently ignore these.
I'm not sure we should force the rules to look at these (they are complex enough, separate rules might be better at handling this). I think we should add an Inapplicable example to make the behaviour explicit.
(🤔 actually it might be better suited as a verbose example since it would be better as "inapplicable but bad" but then it would fail the requirements…)
The text was updated successfully, but these errors were encountered:
Text has minimum contrast and Text has enhanced contrast are targeted at text nodes.
Some text appear as text on the page without being in a DOM text node, typically in a Submit button:
<input type="submit" value="Next" />
has a text ofNext
and<input type="submit" />
has a text of (localised)Submit
. The rules currently ignore these.I'm not sure we should force the rules to look at these (they are complex enough, separate rules might be better at handling this). I think we should add an Inapplicable example to make the behaviour explicit.
(🤔 actually it might be better suited as a verbose example since it would be better as "inapplicable but bad" but then it would fail the requirements…)
The text was updated successfully, but these errors were encountered: