CleanPrint – keyboard accessibility
-
Hi,
First, thank you for developing CleanPrint – we needed RTF export, so your plugin really helps ;).
I’ve identified some accessibility issues (for those with disabilities) – I’ll list a few, and I’d appreciate if you can investigate – happy to test and provide further info.
- A lot of
<div>
used as buttons. For keyboard accessibility these needtabindex: 0, role: button, aria-label: Close CleanPrint
(using these WAI-ARIA attributes will not break CSS/JS); - No visual indication of keyboard focus. We need something like (CSS)
*:focus { outline: 1px dotted gray; }
; - When the CleanPrint dialog is opened on client web site, keyboard focus needs initializing with Javascript, eg. to the ‘Close’ button;
- Similarly, when the dialog is closed, keyboard focus needs returning to somewhere sensible;
- (and more…)
You can see my incomplete hacks – GitHub: IET-OU/wp-iet-generic-plugins …js/lace-javascript.js ~ line 72.
Resources:
* https://webaim.org/techniques/keyboard/
* https://karlgroves.com/2013/09/05/the-6-simplest-web-accessibility-tests-anyone-can-do/I look forward to hearing from you. Thanks,
Nick Freear
- A lot of
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘CleanPrint – keyboard accessibility’ is closed to new replies.