-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Description
Hi all,
I was noticing that the majority of HTML label tags, that are used in various dialogs, etc., are not directly "associated" with an input HTML tag (either explicitly via id, or implicitly via nested input tags).
Total labels
grep -R "<label.*>.*</label>" src/ | wc -l
65
Explicitly associated labels:
grep -R "<label.*for=.*>.*</label>" src/ | wc -l
12
Implicitly associated labels:
grep -R "<label.*><inp.*</label>" src/ | wc -l
5
Generally it only offers advantages to have them associated (see also https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label), at virtually no cost :-)
I started the work locally in my git clone, but wanted to make sure if there are maybe any specific reasons against it, that I might not be aware of?
If there are no objections I will finish my work and create a PR accordingly.
Looking forward for a "go ahead"
Thanks
TriliumNext Version
git
What operating system are you using?
Other Linux
What is your setup?
Local (no sync)
Operating System Version
any
Error logs
No response