Closed huong-li-nguyen closed 5 months ago
@AnnMarieW - is this something you are interested in completing? :) @antonymilne told me you suggested it and I think it's a good idea! Let me know if you are interested in taking this ticket yourself, otherwise would love to get your review on it 👍
FYI the advantage is more than just semantic here I think, e.g. you can activate a form field just by clicking the label instead https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label.
Sure I could do this one :slightly_smiling_face:
Question
Context why this is beneficial: https://teamtreehouse.com/community/labels-vs-paragraphs#:~:text=The%20tag%20is%20just,in%20the%20CSS.
Code/Examples
Replace
html.P(self.title)
withhtml.Label(self.title)
for all form components (dropdown, checklist, etc.) and where applicableOther information
No response
Which package?
vizro
Package version
0.1.9
Python version
3.9
OS
No response
Code of Conduct