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

Update "Do disabled elements (<input>, <button>, etc) need to pass minimum contrast ratio?" #53

Open
Jefferydo opened this issue Jul 29, 2022 · 0 comments

Comments

@Jefferydo
Copy link

The answer goes off topic in the first paragraph and in the "More Information" section.

The "More Information" section says all HTML5 elements pass contrast out of the box, but doesn't mention that's not the case for the placeholder attribute. The "Exception" addresses the placeholder, but on the wrong topic (failing 3.3.2 if it's the only label).

Course page on the topic: Styling the placeholder

Best to stick to contrast and delete the unrelated advice. Address those topics in their own questions.

Incidentally, does WCAG discuss a disabled submit button, specifically? I have no doubt it's bad practice, but can't find mention of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant