house9

random code and what not

accesskey attribute on the select tag is not valid?

Was just running some validation on a html form and it failed with the following error
Invalid markup: line 68: Attribute “accesskey” exists, but can not be used for this element.

From w3c spec - ”The following elements support the accesskey attribute: A, AREA, BUTTON, INPUT, LABEL, and LEGEND, and TEXTAREA.

I have no idea why input and textarea would be supported but not select? this seems like a mistake? At least there is an easy work around - apply the accesskey attribute to the label tag that references the select menu.