Chris Smith on Nostr: Using a button inside a disabled fieldset should not be possible but you can do it ...
Using a button inside a disabled fieldset should not be possible but you can do it with a custom element.
This is where I start getting lost with accessibility. Is this button usable? It's still a real button.
https://codepen.io/chris22smith/pen/dyEmGjZ?editors=1011#a11y #webcomponents #html #javascript
Published at
2024-06-20 15:18:09Event JSON
{
"id": "c3b202a83e9d5fbc80d98a0783ba3415075d82bc9d9e518c34ef235d67e79f90",
"pubkey": "1b67d3f6fc3988e731a19f3978aff3963ece6152bb7a55db8e1cbc3897577702",
"created_at": 1718896689,
"kind": 1,
"tags": [
[
"t",
"a11y"
],
[
"t",
"webcomponents"
],
[
"t",
"html"
],
[
"t",
"javascript"
],
[
"proxy",
"https://mastodon.social/users/chris22smith/statuses/112649613437585910",
"activitypub"
]
],
"content": "Using a button inside a disabled fieldset should not be possible but you can do it with a custom element.\n\nThis is where I start getting lost with accessibility. Is this button usable? It's still a real button.\n\nhttps://codepen.io/chris22smith/pen/dyEmGjZ?editors=1011\n\n#a11y #webcomponents #html #javascript",
"sig": "98982e308713395f0300af96d8197eee74094fc9e78a780fecd2b0a61ac8383c3e149e457498c413dc3b834571e0035883bf6428e713ad82cd688cbdae08231e"
}