this post was submitted on 05 Feb 2025
47 points (91.2% liked)
Technology
61632 readers
5207 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That's good and all but man is that person a big fan of aria properties.
To be clear, they're not bad, but they're a little brute-forcey. There's often a way to achieve the same purpose without them.
For instance, instead of
aria-pressed
with buttons, you can just use radio buttons and labels. And your can just put heading elements in your sections instead of naming them with aria properties.Yeah. aria-properties are fine for things the framework does but would be a huge undertaking doing yourself. But they do make webapps more brittle.