Hot answers tagged


It’s referring to an HTML label tag. <label for=“answer”>Answer</label> <input id=“answer”> This is the “right” way to mark up a label for a form field. aria-labelledby is a work-around when the label can’t be marked up by a label tag (e.g. see this recent answer) aria-label is an alternative when for whatever reason there isn’t a tag ...

Only top voted, non community-wiki answers of a minimum length are eligible