[FastAPI] Accessibility improvements
This is a general issue for potential improvements to accessibility and HTML semantics with the FastAPI port.
The MDN docs on Accessibility are a good starting point, as is Firefox's Accessibility Inspector (Right Click -> Inspect Accessibility Properties -> Check for issues -> All Issues).
Improvements
-
Use the HTML required
attribute for form fields that are required. -
Make sure form inputs have an associated <label>
. -
Contrast should meet AA standards. -
Don't use color alone for information (ex. underline links, add an asterisk near required fields).
Some of these improvements have already been made or are in the process of being made. Use it as a checklist to keep in mind when adding new content. Feel free to add a comment to add on!
Edited by Steven Guikal