kyle-jennings / benjamin

A WordPress theme built with _s, 18f's US web design standards, and the needs of the people.
GNU General Public License v2.0
41 stars 10 forks source link

Radio input nested in a <label> tag doesn't style correctly. #29

Open stevenbuccini opened 4 years ago

stevenbuccini commented 4 years ago

Using the for attribute in the <label> tag:

Screen Shot 2019-08-20 at 9 16 30 PM

Using an <input> nested in a <label>:

Screen Shot 2019-08-20 at 9 19 57 PM
stevenbuccini commented 4 years ago

This also breaks in the for= implementation if the <label> tags are placed above the input. Interestingly enough, only the top input is rendered incorrectly while the bottom one renders correctly. I have not tested cases where N > 2

stevenbuccini commented 4 years ago

Ticket filed upstream here.