Eric Eggert on Nostr: Apart from creating custom UI elements, you shouldn’t need to use the role ...
Apart from creating custom UI elements, you shouldn’t need to use the role attribute at all.
Edit: Oh, and live regions. role="alert" and role="status" are often a better choice than using aria-live.
Published at
2024-10-31 10:43:04Event JSON
{
"id": "097d9a185eaea7039fd2d18e1a32cae91b7cf3e64df4b4aed7f98e99661b62c4",
"pubkey": "e61983b8ebe3b9964a27030db37f1d6fd4dcef66c68a516481b26d308c9e844c",
"created_at": 1730371384,
"kind": 1,
"tags": [
[
"proxy",
"https://yatil.social/users/yatil/statuses/113401619023108263",
"activitypub"
]
],
"content": "Apart from creating custom UI elements, you shouldn’t need to use the role attribute at all.\n\nEdit: Oh, and live regions. role=\"alert\" and role=\"status\" are often a better choice than using aria-live.",
"sig": "8d413429a7d4890c0cad4d31af86618c7f3101f4e3ee669b9ea5e8197ae4b8dfc97e0d745e0c46c230c2b9f99c08eceb8816d17f2feef3e7b351a2a3af72258c"
}