How to correctly hide data storage inputs for submitting information? #547
Unanswered
GomezIvann
asked this question in
Ideas
Replies: 1 comment 1 reply
-
Maybe we already had this conversation... but I thought we were currently using the second approach: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Lately while searching I found some other implementations or opinions about how to hide an input that stores data, which go far from just doing
display: none
, as we currently have. I would like to discuss which way of doing this is better for screen-readers, fulfilling all conventions, etc.<input type="hidden">
.display: none
as we did until now but also addingaria-hidden="true"
for screen-readers.hidden
attribute.Beta Was this translation helpful? Give feedback.
All reactions