<label>
Foo
<input>
</label> <label>
Foo
<input>
</label> input:focus + label {}
label:has(input:focus) {}At least with Chrome, it does not make a difference! It correctly determined the label and I could just tell it to click on that particular checkbox.
Since Dragon Naturally Speaking doesn't seem to have a trial, as well as having a broken shop page you can't order from, I can't give it a test, but that articles advice seems rather questionable to me.
Maybe not for the screenreaders of today, but maybe for the screenreaders of tomorrow.
If your software works and is designed as intended, then sometimes it stays the users problem. Unfortunate, but otherwise problems will stay forever.
(If you need a personal story to bring it home, the only way my dad, a programmer in the 70s-90s, could continue to use computers when he suffered from MND / ALS, was to use voice control software.)
I guess it is kinda beside the point though as it was just an example to illustrate the point.