thoughtbot / ember-formulaic

Simplify form filling in acceptance tests
MIT License
2 stars 1 forks source link

Ensure proper `label[for]` behavior #5

Closed seanpdoyle closed 9 years ago

seanpdoyle commented 9 years ago

Filling in a label's {input,textarea,select} based on proximity or sibling hierarchy, while possible, is not semantically correct, and is different than browser / a11y behavior.

This commit changes the behavior of fillForm (implemented in terms of fillInLabel) to behave properly.