WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Sortable table columns

for

From: glen walker
Date: Aug 6, 2020 7:25AM


Right, which I think (I might be wrong) is what the original question was
about. I thought there was text outside the button as the column header
but they didn't want the button text itself read as part of the column
header. That's messy.

On Wed, Aug 5, 2020 at 6:11 PM Birkir R. Gunnarsson <
<EMAIL REMOVED> > wrote:

> Typically those tables have the column header text + a button that
> says "click to sort" or some such (or a visual arrow icon button that
> has to have some sort of an accessible name).
> Any accessible name that isn't part of the column header text is
> repeated as part of the column header text for every cell in that
> column (when people navigate to it) making it so annoying as to be
> almost a blocker for someone using a screen reader.
> Column header text has to be descriptive and succinct, which usually
> makes for a perfect is an ideal button label.
>
> On 8/5/20, glen walker < <EMAIL REMOVED> > wrote:
> > Yes, I've seen the pattern that Birkir uses but that requires the entire
> > column header be a button. It sounded like the original question had
> plain
> > text in the header and a separate button for sorting.
> > > > > > > > > >
>
>
> --
> Work hard. Have fun. Make history.
> > > > >