[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#830213: tracker.debian.org: Accessibility regressions over old pts



Hi Sam,

On Fri, 08 Jul 2016, Sam Hartman wrote:
> If it's a link, the screen reader lets me execute the action associated
> with the link, not the onclick action.
> If you want me to click on it you'll need to manipulate it so the screen
> reader thinks it is clickable.

I made multiple changes:
- the link has a role="button" to make it clear that it's meant to be
  clicked
- the link is now focusable (i.e. I can use TAB to focus it, and then
  I can press Enter to activate it and I can see the content being
  toggled)

Is it better?

>     Raphael> Are there "aria" attributes that we can set on title of
>     Raphael> panels to get them recognized as headings or interesting
>     Raphael> navigation points?
> 
> I do not know.  I'm not a web front end person; I don't know CSS.
> I'm an end user in this space.

I documented myself and I added a few role attributes that should help
the screen reader to build a structure of the webpage. Is that the
case?

>     Raphael> Here I really don't understand... we have a link and within
>     Raphael> that link we have the icon and the <span class="sr-only">
>     Raphael> tag with the text that you are supposed to see. And given
>     Raphael> it's placed within the link, you should be able to interact
>     Raphael> with it.
> 
> That's not what I'm seeing.

Basically the situation of that "versioned links" panel should be the same
than for the "toggle chevron" embedded in the action needed panel. They
are focusable with TAB and they are normal links that can be used as link.

The span tags that add an image with CSS magic are tagged with role="img"
and they should be recognized as images.

I'm not quite sure how I can reproduce the way you navigate within a web
page... because it's hard for me to try to help you when I'm not able to
check the impact of my changes. Putting Samuel Thibault in copy as he
might be able to provide some useful input.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


Reply to: