Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2022-11-04 17:26:33

ironmangary
Member
From: United States
Registered: 2022-10-13
Posts: 36

Slight Inaccessibility Issue

I mentioned this in another post, but I am a visually impaired admin, which is partially what drew me to this software. For the most part, I can do everything I need to within the backend. There is one small exception to this, though.

When in the admin article or category lists (I haven’t tested files or images), the title and ID of the article or category is not displayed in a way that my screen reader can announce it to me. I tried looking at the raw html page source, but I can’t tell why this would be. Other fields associated with the listing, such as section, are in plain text that shows up for me.

Here’s an example of what I’m being shown for the article listing under Content -> Articles:

ID#
Title
Posted
Modified
Expires
Section
Category 1
Category 2
Status

Edit
Edit
18 Oct 2022 18:27:51
19 Oct 2022 17:43:36

Profile
Wrestlers

View

Edit
Edit
14 Oct 2022 17:32:44
16 Oct 2022 17:16:52

Profile
Wrestlers

View

Edit
Edit
14 Oct 2022 14:02:25
14 Oct 2022 14:02:25

Articles

View

In contrast, I also have glx_custom_fields installed. All of the field names/ID’s, along with everything else, is displayed in a way that I can read it. Here’s what I “see”:

Sort
ID#
Name
Title
Type
Options

1
wrestler_ring_name
Wrestler’s Ring Name
Text Input
Reset

2
wrestler_nickname
Wrestler’s Nickname
Text Input
Reset

3
wrestler_location
Wrestler’s Location
Text Input
Reset

4
wrestler_division
Wrestler’s Division
Radio
Reset

5
wrestler_status
Wrestler’s Status
Radio
Reset

This does make choosing articles I need to go back to and edit a bit more challenging, so I thought I’d post it here, in case it’s a simple fix or tweak.

Offline

#2 2022-11-04 18:04:39

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,468
Website GitHub

Re: Slight Inaccessibility Issue

An excellent observation. We should definitely tweak the anchors or markup so that screen readers etc can latch onto the context of the ID and title.

We’ll look into this. Thank you.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2022-11-05 00:53:04

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,220
Website

Re: Slight Inaccessibility Issue

Article list (any other list table within Textpattern core), for title column, the markup reads:

<td class="txp-list-col-title">
<a title="Edit" aria-label="Edit" href="#">my article title</a>
</td>

In contrast, the table for the glz_custom_fields plugin:

<td class="txp-list-col-name">
<a class="edit-link" title="Edit Custom Field #1" href="#">my_custom_field</a>
</td>

the very important difference here is the use of (by core):

title="Edit" aria-label="Edit"

Especially the use of the aria-label is poor. The title attribute is not great either, but as far as I understand it, most screen reader users turn it OFF anyway. Basically, for a screen reader, this reads as “Edit” (Edit what?).

If someone has more chops than me and can create a patch that removes all those aria-label attributes (list tables, category lists, preferences), and forward it to Gary (ironmangary), I am sure you will make a happy user.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#4 2022-11-07 11:09:38

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Offline

Board footer

Powered by FluxBB