Re: [pgAdmin][RM4772][Accessibility] Provide aria-label to aninvisible label where a visible label cannot be used - Mailing list pgadmin-hackers

From Aditya Toshniwal
Subject Re: [pgAdmin][RM4772][Accessibility] Provide aria-label to aninvisible label where a visible label cannot be used
Date
Msg-id CAM9w-_mg+_gPEp0cz=PAnZJCOSBYrd4S-wu9u-+q9UFdo0zN6w@mail.gmail.com
Whole thread Raw
In response to Re: [pgAdmin][RM4772][Accessibility] Provide aria-label to aninvisible label where a visible label cannot be used  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Responses Re: [pgAdmin][RM4772][Accessibility] Provide aria-label to aninvisible label where a visible label cannot be used  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Hi Hackers,

Attached is the patch to fix the feature tests which were failing after the commit. The reason being, the span elements which was used to show properties tab data is changed to input now as per accessibility requirements. Also, there is no way now to check XSS of input because the input tags returns the original value on extracting the value attribute and not the escaped value. Previously, the value was HTML element under the span tag.
Not to worry, input is escaped and is XSS free, handled in underscore templates.

On Tue, Dec 3, 2019 at 12:48 PM Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
Thanks, patch applied.

On Tue, Dec 3, 2019 at 11:39 AM Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:
Hi Hackers,

Attached is the patch to add label and aria-label wherever applicable. The patch also fixes few other accessibility related errors raised by "WAVE" extension of Chrome.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"


--
Thanks & Regards
Akshay Joshi
Sr. Software Architect
EnterpriseDB Software India Private Limited
Mobile: +91 976-788-8246


--
Thanks and Regards,
Aditya Toshniwal
Sr. Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"
Attachment

pgadmin-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: RM4939 - Running in the container as non-root user
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4] Fix context menu CSS