WebAIM - Web Accessibility In Mind

E-mail List Archives

Labelling multi-answer questions


From: lynn.holdsworth@gmail.com
Date: May 16, 2018 4:41AM

Hi guys, I'm auditing an HTML authoring tool that enables authors unfamiliar
with HTML to create exam questions. The UI is really flexible in that it's
possible to create all manner of question types including a "fill in the
blanks" type scenario.

The sort of question I'm talking about might look something like:

How far away is the Sun from the Earth, and how many planets are closer?

The Sun is __ million miles away from Earth, and there are _ planets closer.

Where the underlines are replaced by small textboxes.

If we were marking up the question by hand, I'm sure we could come up with
some sort of fudge. But the solution needs to be flexible enough to build
into the authoring tool.

The best I can come up with is to use the immediately preceding text node as
the label for each textbox. But in this question neither label would provide
enough information.

I'd really appreciate any help I can get with this one. Aria labels are
currently being used, both of which say "Numeric answer text", which is
likely to be very confusing indeed.

Thanks as always