pencilvoid.neocities.org
"Making dropdowns with pure CSS would be a good idea" said pencilvoid, with no idea what they were getting themselves into
Really does seem like it should be easier, right? Checkbox hack, or another method?
Checkboxes, divs, and prayers
I've considered switching to use HTML details and summary tags but i have no idea if those are semantically different in any meaningful way
As far as I know, details and summary are better than the checkbox hack in terms of accessibility (and maintenance effort).
Also found this as an option via StackOverflow: https://stackoverflow.com/a/63724779
I use details and summary tags as a dropdown for my own ease (being more of a coding beginner), don't know if it's how they should be used but it is comfortable. also they open and close in reading mode which I think is nice.
"Making dropdowns with pure CSS would be a good idea" said pencilvoid, with no idea what they were getting themselves into
Really does seem like it should be easier, right? Checkbox hack, or another method?
Checkboxes, divs, and prayers
I've considered switching to use HTML details and summary tags but i have no idea if those are semantically different in any meaningful way
As far as I know, details and summary are better than the checkbox hack in terms of accessibility (and maintenance effort).
Also found this as an option via StackOverflow: https://stackoverflow.com/a/63724779
I use details and summary tags as a dropdown for my own ease (being more of a coding beginner), don't know if it's how they should be used but it is comfortable. also they open and close in reading mode which I think is nice.