summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-05-22 00:21:35 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-05-22 00:21:35 -0400
commit07e5f260ad4c88879f27c3fc8742155f872e8994 (patch)
tree08688b851ee2d2687bebf5516bfc56074afa2f7c /docs/api
parentb3fcd627ae57cd0587363eaf2d5f4635a82bda60 (diff)
Use browser-native methods to hide elements, not CSS alone.
The hidden `textarea` used to attach the form value to the DOM was being included in the ARIA accessibility tree, at least in testing (I didn't check in a browser). While we could suppress this iwth `aria-role="hidden"`, the WHATWG recommendation is to Not Do That, and to find another way to hide the element, instead. Marking the element as hidden accomplishes that goal, _and_ gets rid of a style rule.
Diffstat (limited to 'docs/api')
0 files changed, 0 insertions, 0 deletions