WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Using Aria within a table to indicate that a cell is highlighted

for

From: glen walker
Date: Jul 4, 2022 11:03PM


I didn't see/hear any spelling issues. Birkir just said you can't wrap a
heading around a table cell as such:

<h3>my heading
<td>my cell</td>
</h3>

It breaks the semantics of the table. All the markup must be in the cell
itself as such:

<td>my cell
<h3>my heading</h3>
</td>


On Mon, Jul 4, 2022 at 10:24 PM David Engebretson Jr. <
<EMAIL REMOVED> > wrote:

> Birkir, I can only infer what you wrote below. Is your spell checker not
> working?
>
> No offense intended, I've rarely seen you mis-spell words like that.
>
> Am I missing something?
> David
>
>
> -----Original Message-----
> From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of
> Birkir R. Gunnarsson
> Sent: Monday, July 04, 2022 7:12 PM
> To: WebAIM Discussion List < <EMAIL REMOVED> >
> Subject: Re: [WebAIM] [EXTERNAL] Using Aria within a table to indicate
> that a cell is highlighted
>
> Can't wrap a heading around a table cell, it breaks the whole table,
> including moving the column and row header accociation to the wrong cells
> .. any sematic markup must happen inside the table cell, not to the cell
> itself (except descriptive ARIA attribute like aria-current that do not
> change the semantics of the table element, ditto role-description, except
> it isn't really supported).
>
>