"...and role="button" on tags for accessibility."
This team should listen to my talk about building accessible components.
#a11y #WebDev #RightBadCode
"...and role="button" on tags for accessibility."
This team should listen to my talk about building accessible components.
#a11y #WebDev #RightBadCode
First off, role="text" is not a valid attribute, so why is it even in the code? And second, the paragraph tag does not need help conveying its semantic meaning.
#A11y #FrontEnd #RightBadCode
First off, role="text" is not a valid attribute, so why is it even in the code? And second, the paragraph tag does not need help conveying its semantic meaning.
#A11y #FrontEnd #RightBadCode
#a11y #frontEnd #DontDoThis #rightBadCode
#a11y #frontEnd #DontDoThis #rightBadCode
#accessibility #a11y #ux #ui #rightBadCode
#accessibility #a11y #ux #ui #rightBadCode
When your design system components are not accessible. For example, when your Text Input component lacks a label entirely or a label that's not programmatically associated with the text Input, it's not accessible.
#a11y #designSystem #rightBadCode
When your design system components are not accessible. For example, when your Text Input component lacks a label entirely or a label that's not programmatically associated with the text Input, it's not accessible.
#a11y #designSystem #rightBadCode
When your label and aria-label contain the same text, you don't need the aria-label. Also, be sure to associate the label with the input by providing the same text in the "for" and "id" attributes.
#a11y #frontEndDev #html #rightBadCode
When your label and aria-label contain the same text, you don't need the aria-label. Also, be sure to associate the label with the input by providing the same text in the "for" and "id" attributes.
#a11y #frontEndDev #html #rightBadCode
1. The dev is trying to do what assistive tech already does.
2. The dev doesn't know that tags receive focus natively
3. JS is being relied on more than it should
#a11y #frontEnd #rightBadCode
#a11y #designSystems #rightBadCode
#a11y #designSystems #rightBadCode
#a11y #accessibility #RightBadCode #UglyChristmasSweater
#a11y #accessibility #RightBadCode #UglyChristmasSweater
So if you have a
#a11y #webDev #rightBadCode
So if you have a
#a11y #webDev #rightBadCode
#a11y #webDev #rightBadCode
#a11y #webDev #rightBadCode
❌ The incorrect way to label an input:
Age
✅ The correct way:
#a11y #html #rightBadCode
❌ The incorrect way to label an input:
Age
✅ The correct way:
#a11y #html #rightBadCode
rightbadcode.com/tips-for-wri...
#a11y #accessibility #rightBadCode
rightbadcode.com/tips-for-wri...
#a11y #accessibility #rightBadCode
#a11y #rightBadCode
#a11y #rightBadCode
Connect Bluesky
Enter your Bluesky handle and app password to unlock posting, likes, and your Following feed.
Need an app password? Open Bluesky, go to Settings > App passwords, and create a new one.
Connect with Bluesky
Sign in with your Bluesky account to unlock posting, likes, and your Following feed.