WebAIM - Web Accessibility In Mind

E-mail List Archives

form label for long question

for

From: Mike Warner
Date: Feb 5, 2018 10:54AM


Hi all,

I'm reworking one of our interactive features and was wondering what the
best practice is for a label when the question is long. Here's a sample
question:

8. If a patient's blood sugar, cholesterol, and blood pressure are all
dependent on diet, which of these is the explanatory variable

1. Blood sugar
2. Cholesterol level
3. Blood pressure
4. Diet

After this question comes the input and the check button. We currently
have the label around the input with a nbsp in it next to the input and to
give a bit of space before the check button, but WAVE and aXe are saying
that there is no label. I imagine that's because the label surrounds the
input field. What are good ways to add the label that won't confuse the
user? I imagine that we don't want it around the entire question, right?
Some of the questions are longer than this.

Thanks!
Mike

Mike Warner
Director of IT Services
MindEdge, Inc.