components
components copied to clipboard
[sl-text-field] ARIA label not set if not used in <sl-form>
Provide a general summary of the issue here
aria-describedby label is not set if <sl-text-field> is used without an enclosing <sl-form>
๐ค Expected Behavior?
aria labels should be set by the developer?
๐ฏ Current Behavior
๐ Possible Solution
-
is it possible to create an ESlint rule to inform the developer of a missing ARIA label it this situation?
-
update documentation at https://sanomalearning.design/categories/components/button/accessibility/#wai-aria
๐ฅ๏ธ Steps to Reproduce
What browsers are you seeing the problem on? (only for bugs in code)
Chrome
If other, please specify.
No response
What operating system are you using?
WSL
๐ค Your name
Frans de Boer
๐งข Your product/team
Magister
๐จ Your Theme(s)
Magister
โ Tasks
- [ ] Create ES lint rule that checks if your form control has an accessible name.