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


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. 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
[โ€“] Eiri@lemmy.ca 11 points 10 hours ago (1 children)

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.

[โ€“] MonkderVierte@lemmy.ml 4 points 9 hours ago

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.