Orange-OpenSource / Orange-OpenSource/Orange-Boosted-Bootstrap

[a11y] Add a note in Form validation

Open
#3,052 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

👂 accessibility 🗳️ feature
Dominant language
CSS
Stars
219
Forks
61
Avg merge
2d 15h
Merged PRs (30d)
12

Description

Prerequisites
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

https://a11ysupport.io/tests/tech__aria__aria-errormessage-with-aria-invalid-true#assertion-aria-aria-errormessage_attribute-convey_pertinent

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.