Hello Dave
Apologies for top-posting.
If you can get your hands on the bootstrap3 style css, search for 'sr-only'.
I suggest you might want to create a bogus tag "a11y" with a link to a
bogus show, and when you have done that let me know.
Although of course the styling is probably done in a loop, so any style
applied will be applied to all?
And I guess what you mean buy index is that you want any tag to appear
on the page only once, but then be followed by a column to the right
with the show numbers.
I'm sorry to moan about this, but running down a list is very, very
annoying when meaningful entry is not included in the link.
In the case of the HPR tags page, I just get number after number, and on
a lot of pages, as I suggested before, it is only ever the word 'here'
that is linked.
Jumping either forwards or backwards through links with 'k' or 'shift
k', I have no idea when I have landed on a link I want.
Perhaps we can do some trials, and give me the nod each time you made an
update.
PHP? Yuck. Dancer2 is where it's at Dave. All the Perl happenin' dudes
are there.
Mike
On 02/08/2022 14:17, Dave Morriss wrote:
On 01/08/2022 21:09, Mike Ray wrote:
Hello
I just spotted a glaring accessibility issue on the HPR site.
I just listened to the community news, published today, and heard
mention of a show about Kafka. Which I need to know about right now
for work.
So I went to the site and to the tags page.
Running down the list of tags that begin with the letter 'K', I found:
• kafka: 3639
That's fine, but only the 3639 bit is included in the link.
So, when I hit the 'k' button to navigate by links in NVDA, a Windows
screen reader, all I get is number after number. I believe all major
screen readers include a key to jump from link to link.
No idea which is the Kafka show.
So, the link needs to be changed to include the tag in the anchor.
I have mentioned this before, that anchors should include the full
text that describe the link, not just the word 'here' as in "click
here to learn about invisible giraffes with six legs".
I would want the whole thing in the link, so that I could find the
link about invisible giraffes with six legs, and not just "here, here,
here, here, here" AAAAAARGH!
I don't know how I missed that when it was published. But I am one of
those people who screw up the stats, because I delete most shows based
on the title, after making sure it is not one of my "must listen" list
of hosts. Linux Inlaws is not one of those.
Mike
Hi Mike,
I must apologise for this problem; the page is something I designed and
constructed myself. For new readers, we're talking about
https://hackerpublicradio.org/tags.php.
I wanted the page to be like an index in a book with the keyword (tag)
on the left, followed by a list of the page (show) numbers. As I
designed this it seemed that each link was best presented as a number. I
didn't know that screen readers would cope badly with this.
I'm wondering if there's a way of including text that would help a
screen reader while leaving the list of show numbers as it is.
I was unavailable this morning but I have just tried doing what some
accessibility advice I found suggests: namely giving each link to a show
a 'text' attribute. In experiment one I added the show title there.
I saw the warnings that many screen readers will not use this attribute.
I also wonder if this will have the effect of making the page
excessively complex for screen readers that do use it. Using this text
has the advantage for sighted users that hovering over each link shows
what the episode is about.
I found many references to 'Accessible Rich Internet Applications'
(ARIA) in my research, and see that I could add these types of attributes.
What do you think?
Dave
--
Michael A. Ray
Software engineer
Witley, Surrey, South-east UK
He/him/cis
"Perfection is achieved, not when there is nothing more to add, but when
there is nothing left to take away." -- A. de Saint-Exupery
_______________________________________________
Hpr mailing list
Hpr@hackerpublicradio.org
http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org