Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

new a11y rule: accessible input elements #275

Closed
HamletDRC opened this issue Sep 27, 2016 · 0 comments · Fixed by #547
Closed

new a11y rule: accessible input elements #275

HamletDRC opened this issue Sep 27, 2016 · 0 comments · Fixed by #547
Labels
Difficulty: Easy Someone with little to no experience in TSLint should be able to send a pull request for this issue. Domain: Accessibility Rules around accessibility verification, commonly react-a11y-*. Status: Accepting PRs Type: Rule Suggestion Adding a new rule that doesn't yet exist here or in TSLint core.
Milestone

Comments

@HamletDRC
Copy link
Member

Edit boxes and text areas must include default, place-holding characters

https://www.w3.org/TR/WCAG10/wai-pageauth.html#tech-place-holders�
https://www.w3.org/TR/WCAG10-HTML-TECHS/#forms-specific

@JoshuaKGoldberg JoshuaKGoldberg added Status: Accepting PRs Difficulty: Easy Someone with little to no experience in TSLint should be able to send a pull request for this issue. Type: Rule Suggestion Adding a new rule that doesn't yet exist here or in TSLint core. Domain: Accessibility Rules around accessibility verification, commonly react-a11y-*. labels Jul 7, 2018
JoshuaKGoldberg pushed a commit that referenced this issue Oct 18, 2018
* Add new rule of react-a11y-input-elements

* Update README.md and build new rule

* Use getJsxAttributesFromJsxElement only for input elements

* Revert tslint.json formator changes

* Fix missing revert tslint changes

* Update rule and tests with latest master changes
@JoshuaKGoldberg JoshuaKGoldberg added this to the 6.0.0 milestone Nov 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Difficulty: Easy Someone with little to no experience in TSLint should be able to send a pull request for this issue. Domain: Accessibility Rules around accessibility verification, commonly react-a11y-*. Status: Accepting PRs Type: Rule Suggestion Adding a new rule that doesn't yet exist here or in TSLint core.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants