WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Aria role for "fill in the blank" content

for

Number of posts in this thread: 2 (In chronological order)

From: Liz Thomas
Date: Wed, Oct 06 2021 10:03PM
Subject: Aria role for "fill in the blank" content
No previous message | Next message →

Hi all,

Looking for some advise on how best to approach "fill-in-the-blank" content, for example:

The wild things gnashed their terrible______


I've used a workaround of role="math" (understanding that this is not the correct use of the role. Also to note, this is a visual representation of a blank space and not an input field)

<p>The wild things gnashed their terrible<span role="math" aria-label="insert noun/verb here">___</span></p>

Is there an appropriate role for this instance? Or a much better way of approaching it?












IMPORTANT - This email and any attachments may be confidential. If received in error, please contact us and delete all copies. Before opening or using attachments check them for viruses and defects. Regardless of any loss, damage or consequence, whether caused by the negligence of the sender or not, resulting directly or indirectly from the use of any attached files our liability is limited to resupplying any affected attachments. Any representations or opinions expressed are those of the individual sender, and not necessarily those of the Department of Education and Training.

From: Mallory
Date: Mon, Oct 11 2021 1:55AM
Subject: Re: Aria role for "fill in the blank" content
← Previous message | No next message

I've built FITBs with actual inputs (so students can type into them). So no roles added manually.

Keep in mind if there's aria-label then the surrounding context cannot label anything.

I made some tests a few years ago, trying different things:
https://stommepoes.nl/work/k-12/fill_in_the_blank.html
https://stommepoes.nl/work/k-12/fill_in_the_blank_tests.html

On Thu, Oct 7, 2021, at 6:03 AM, Liz Thomas wrote:
> Hi all,
>
> Looking for some advise on how best to approach "fill-in-the-blank"
> content, for example:
>
> The wild things gnashed their terrible______
>
>
> I've used a workaround of role="math" (understanding that this is not
> the correct use of the role. Also to note, this is a visual
> representation of a blank space and not an input field)
>
> <p>The wild things gnashed their terrible<span role="math"
> aria-label="insert noun/verb here">___</span></p>
>
> Is there an appropriate role for this instance? Or a much better way of
> approaching it?
>
>
>
>
>
>
>
>
>
>
>
>
> IMPORTANT - This email and any attachments may be confidential. If
> received in error, please contact us and delete all copies. Before
> opening or using attachments check them for viruses and defects.
> Regardless of any loss, damage or consequence, whether caused by the
> negligence of the sender or not, resulting directly or indirectly from
> the use of any attached files our liability is limited to resupplying
> any affected attachments. Any representations or opinions expressed are
> those of the individual sender, and not necessarily those of the
> Department of Education and Training.
> > > >