You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
within a select element, if an option has a label attribute and child content, the label attribute value renders and the child content does not. the value attribute, which is not rendered for select elements, can also be rendered for datalist options, which then also needs to be considered for what the visible name for these options would be.
but within a datalist, if an option has both a label attribute and child content, both will render - and again, if a value attribute is in the mix, then that will often take precedent over one of the other labeling mechanisms.
browsers expose this differently - where chromium exposes both pieces of information, safari renders both but only exposes one, and firefox only renders and exposes one of the two.