Orange-OpenSource / Orange-OpenSource/Orange-Boosted-Bootstrap
[a11y] Add a note in Form validation
Open
Nobody has claimed this yet.
👂 accessibility
🗳️ feature
- Dominant language
- CSS
- Stars
- 219
- Forks
- 61
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 12
Description
Prerequisites
- I have searched for duplicate or closed feature requests
- I have read the contributing guidelines
Proposal
In https://ouds-main--boosted.netlify.app/docs/0.5/forms/validation/, I thinkk we must add a note:
- Due to constraints in how CSS works, we cannot (at present) apply styles to a that comes before a form control in the DOM without the help of custom JavaScript.
- All modern browsers support the constraint validation API, a series of JavaScript methods for validating form controls. **But, not all couples, user agent/screen reader, support such an API feature, so do not use it without an accessibility fallback. **
- Feedback messages may utilize the browser defaults (different for each browser, and unstylable via CSS) or our custom feedback styles with additional HTML and CSS.
Motivation and context
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the forms validation documentation at https://ouds-main--boosted.netlify.app/docs/0.5/forms/validation/ and review the existing browser defaults section. Add the proposed accessibility note, preserving links to the constraint validation API and browser defaults, then check that the rendered documentation and links are correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, javascript
- Domain
- accessibility, documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100