Re: Accessibility issues in PgAdmin

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: timjonas(dot)boettcher(at)gmx(dot)de, "pgadmin-support lists(dot)postgresql(dot)org" <pgadmin-support(at)lists(dot)postgresql(dot)org>
Subject: Re: Accessibility issues in PgAdmin
Date: 2021-03-15 10:02:17
Message-ID: CAFOhELfCRxo1FKOWR-YqVmkiCe3n=bW=q33kdh-YK+9cwNNdoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Hi Dave,

On Mon, Mar 15, 2021 at 2:52 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:

>
>
> On Mon, Mar 15, 2021 at 4:58 AM Khushboo Vashi <
> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> Hi,
>>
>> On Sat, Mar 13, 2021 at 12:42 AM <timjonas(dot)boettcher(at)gmx(dot)de> wrote:
>>
>>> Hello,
>>>
>>>
>>>
>>> I discovered an accessibility issue in PgAdmin:
>>>
>>> All toggle buttons (eg. used to grant or revoke a role’s rights or
>>> adjust the app’s behaviour in preferences) are labelled as toggle buttons
>>> and their yes/no, true/false state gets reported correctly, but do not have
>>> the appropriate WAI-ARIA roles (role="button" and
>>> aria-pressed="true/false").
>>>
>>> Therefore, they do not actually behave like toggle buttons (to a screen
>>> reader, they are simply text). Moreover, the buttons only respond to
>>> mouse-clicks on … I don’t even know, because my braille display only shows
>>> empty space at the spot where one would need to click.
>>>
>>>
>>>
>>> Is there, perhaps, a keyboard shortcut/mnemonic to toggle the buttons?
>>> Or do all of you simply use the mouse?
>>>
>>>
>>>
>> Use a space button to toggle the yes/no or true/false buttons.
>>
>>> If the latter: Is the pgadmin-hackers mailing list the right spot for
>>> feature requests/patch requests or is there a GitHub repository where I
>>> could post the issue?
>>>
>>>
>>>
>> Use https://redmine.postgresql.org/projects/pgadmin4 to log the request
>> in future.
>>
>
> Khushboo, can you please make sure the appropriate WAI-ARIA roles are
> added ASAP?
>
We have added Area label and role for toggle button but did not added for
the labels which state yes/no as we have marked them as area-hidden=true,
so that they can be excluded from the accessibility tree.
As we have added appropriate WAI-ARIA for the toggle button (parent div),
the screen reader can read that control as a toggle button (I have tested
it with Chrome Screen reader extension) and not only text.
Also, we have provided a spacebar key to toggle it, so we can operate it
with a keyboard.

[image: Screen Shot 2021-03-15 at 3.30.02 PM.png]
Thanks,
Khushboo

>
> Thanks.
>
>
>>
>> Thanks,
>> Khushboo
>>
>>> Making the toggle buttons respond to keyboard actions (such as clicks
>>> using the space bar) has the advantage that it includes blind users as well
>>> as users struggling to handle a mouse, or those who simply prefer using the
>>> keyboard.
>>>
>>>
>>>
>>> Thanks in advance for your suggestions!
>>>
>>>
>>>
>>> Kind regards,
>>>
>>> Tim
>>>
>>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EDB: http://www.enterprisedb.com
>
>

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Dave Page 2021-03-15 10:10:59 Re: Accessibility issues in PgAdmin
Previous Message Dave Page 2021-03-15 09:21:49 Re: Accessibility issues in PgAdmin