? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
10 Aug 2017

There are four possible ways to display a readmore link depending on the options chosen

  1. Read more
  2. Read more title
  3. Read more title limited to a set number of characters
  4. Register to Read more (Show unathorised links)

Option 1 fails a11y as you end up with multiple links on the page all with the same title
Option 3 may fail a11y as the title may be truncated (even inside a word) and this can lose meaning and sometimes result on multiple links with the same title
Option 4 fails a11y as you end up with multiple links on the page all with the same title

To resolve this we can use the aria-label attribute on the link to ensure that assistive technology will always see a unique and meaningful link.

Testing instructions

View source as below
screenshotr12-27-10

avatar joomla-cms-bot joomla-cms-bot - change - 10 Aug 2017
Category Layout
avatar brianteeman brianteeman - open - 10 Aug 2017
avatar brianteeman brianteeman - change - 10 Aug 2017
Status New Pending
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 10 Aug 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 10 Aug 2017

I have tested this item successfully on 8f66fe5


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17469.

avatar brianteeman brianteeman - change - 10 Aug 2017
Labels Added: ?
avatar Quy
Quy - comment - 10 Aug 2017

The output has to be escaped just in case there is a double quote in the title.

readmore

avatar brianteeman
brianteeman - comment - 10 Aug 2017

Good catch

avatar zwiastunsw
zwiastunsw - comment - 10 Aug 2017

Unfortunately, this is not good.
Yes, the screen reader provides the content of the link, but
A) does not say that it is a continuation (Read more).
B) when access is for registered users - incorrectly states that this link and specifies where instead of message: Login to see

avatar brianteeman
brianteeman - comment - 10 Aug 2017

Does this improve a11y? yes
Is it perfect? No. It is an accommodation. Because of the large number of options for the readmore link anything else would require much more complex code.

In the absence of anyone else caring to work to improve the a11y of Joomla this "improvement" should be accepted

avatar zwiastunsw
zwiastunsw - comment - 10 Aug 2017

Unfortunately, it does not improve. It does not convey important information (Read more). For Show Links not logged in, it causes confusion. Have you checked with screen reader? I checked (NVDA and Chromovox).
You asked for a test - I tested it. I passed the result.
I know this needs a bigger fix. Ask our programmer for the preparation.

avatar brianteeman
brianteeman - comment - 14 Aug 2017

See #17530 for an alternative (more complex) version

avatar brianteeman
brianteeman - comment - 15 Aug 2017

Closed in favour of #17530

avatar brianteeman brianteeman - change - 15 Aug 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-08-15 06:41:51
Closed_By brianteeman
avatar brianteeman brianteeman - close - 15 Aug 2017

Add a Comment

Login with GitHub to post a comment