Open GabeGabeT opened 4 years ago
@GabeGabeT thanks a lot for your testing and feedback! I will go through the issues directly tomorrow, look into fixes and/or come back with questions for clarification.
cc @nextcloud/accessibility for reference
Thanks again so much for your feedback! I have some questions regarding the review:
1 Info and Relations Using label elements to associate text labels with form controls None 1.3.1 H44 There is a download button to download the pdf, the user can then view it in their preferred viewer Cannot control pdf viewer , it is another third party application within the application. There is a download option available to avoid using the viewer.
Could you provide more details there? I went through the PDF viewer, it is tabable and the buttons have text.
Or is this issue the one you are referring to? WAI-ARIA enhancement for toolbars
Ref @juliushaertl @danxuliu for the PDF viewer.
2 Resize Zooming and Scaling to be turned on None 1.4.4 There is a download button to download the pdf, the user can then view it in their preferred viewer Cannot change the settings of the pdf viewer due to it being a third party application
Same here, I was able to navigate to the zoom keys via keyboard and zoom in and out via the integrated PDF viewer just fine. They are marked up as buttons and have the text "Zoom In" and "Zoom Out".
Ref @juliushaertl @danxuliu for the PDF viewer as well.
3 Keyboard None 2.1.1 - Keyboard Focus Keyboard focus flow is not easily programmed, multiple rewrites would be needed. Focus is still there but just not in the expected flow at times.
The flow works the following way:
Since you brought up the PDF viewer before, I noticed that when opening a PDF, the viewer app does not receive the focus and tabbing still goes through the file list. This we need to fix of course. Is this what you are referring to?
Ref @juliushaertl @skjnldsv regarding this.
4 Keyboard Currently keyboard accessible using keyboard shortcuts common in text editors, however there is a WAI-ARIA best practice None 2.1.1 - Text Editor Text Editor is not configurable due to it being another third party application
Is the missing role="menubar"
on formatting bar as well as the missing role="menuitem"
on each of the items what you are referring to? That we should of course fix.
Ref @juliushaertl for the Text editor:
5 Bypass Link at the top of each page to skip to main content area None 2.4.1 - G1 There is a download button to download the pdf, the user can then view it in their preferred viewer PDF Viewer is not configurable
We do have bypass/skip links at the top of each page. Do you mean that the PDF app should also have a bypass link to skip the navigation and go to the PDF content itself?
6 Focus Placing the interactive elements in order that follows sequences and relationships within the content None 2.4.3 - G59 The focus flow is not easily configured, a rewrite of multiple areas would have to be completed. This involves multiple unknowns and rewrites to application we didn’t create
Where specifically does this happen?
7 Focus Elements should not have tabindex greater then zero None 2.4.3 There is a download button to download the pdf, the user can then view it in their preferred viewer PDF Viewer is not configurable
Yes, the PDF viewer seems to overly use the tabindex numbering. @juliushaertl is this something we can fix and upstream? It’s strange as well since most of them are buttons and inputs which could be focused anyway. Possibly just setting tabindex="0"
on them works.
8 Parsing Duplicate ID's None 4.1.1 Duplicate ID's since it’s a one page soultion, multiple elements need to be called with the same Id. This would require a complete rewrite of the soultion for the id's
This is something we are currently working on. Which duplicate IDs did you come across?
Ref @skjnldsv here
9 Name, Role ,Value aria expand None 4.1.2 There is a download button to download the pdf, the user can then view it in their preferred viewer PDF Viewer is not configurable
I’m a bit confused here, is the "download button to download the pdf" description maybe copied here by accident, or does this indeed relate to the PDF viewer?
10 Error Identification success notification None 3.3.1 multiple rewrites will be needed
Is this about the notification showing in the top right? Could you describe what the issue is?
Ref @juliushaertl for the showNotification component.
11 Auto Complete 1.3.5 1.3.1 Cannot fix, will report to dev, this is breaking how the saving and displaying work in nextcloud
Where does this occur?
12 Aria Landmark Aria Landmark - Aside 1.3.1 Not able to move aside outside of main due to the layered code and how sidebar is configured
Can confirm this. It was both
Ref @skjnldsv @juliushaertl on the sidebar component.
@GabeGabeT can you confirm that point 10 is about the notifications in the top right needing aria-live="assertive"
?
Ref https://github.com/nextcloud/nextcloud-dialogs/blob/master/lib/toast.ts → cc @juliushaertl @ChristophWurst
@jancborchardt I will clarify the issues below.
Regarding:
Item 1: Using label elements to associate text labels with form controls, on PDF viewer The page number input field at #pdframe #pageNumber
Item 2: Zooming and Scaling to be turned on, on PDF viewer The meta viewport
Item 3: Keyboard, on the app The tabs in the right panel in aside
Item 4: Keyboard, text editor toolbar on app Text editor toolbar buttons
Item 5: Bypass, on PDF viewer PDF viewer
Item 6: Focus, on the app User Scenario
Item 7: Tabindex, on PDF viewer PDF viewer uses tabindex values greater than zero
Item 8: Duplicate IDs, on the app Duplicate ID's reported by the axe accessibility checker, list may not be exhaustive Multiple duplicate id's
id="notification"
id="controls"
id="file_action_panel"
id="editor"
id="emptycontent"
Check for the following: id="filestable" id="headerSelection" id="headerName" id="headerName-container" id="selectedActionsList" id="headerSize" id="headerDate" id="modified" id="fileList" id="dir"
Item 9: Submenu expanded/collapsed states, on the PDF viewer and the app On the app, the "+" button for adding files and folders
Item 10: Success notification, on app Issue is partially fixed by @GabeGabeT on their app, there was no success notifications for completed actions announced for screen readers e.g. Folder Created, File Deleted
Item 11: Autocomplete, on the app Autocomplete attribute at
input[placeholder="Add\ to\ a\ project"]
Suggested Solution
Item 12: Landmark, on app aside
Here are a few more we found that we found/couldn't address: Text Editor - Not Keyboard Accessible
The action link in the filelist is not coded to allow aria-expanded to detect whether or not its expanded to let the user know. The PDF viewer also fails in this.
The next issue being aria-attributes : "Partially fixed - Invalid values referenced were fixed, but the problem is that the code behind generates new aria-control values after each new folder or file and it always shows up as an invalid value in AXE accessibility checker ARIA attributes must conform to valid values
Invalid ARIA attribute value: aria-controls=""menu-kvknk"" at a[aria-controls=""menu-kvknk""] Invalid ARIA attribute value: aria-labelledby=""Sharing"" at #tab-sharing Invalid ARIA attribute value: aria-controls=""menu-wtukz"" at a[aria-controls=""menu-wtukz""] Invalid ARIA attribute value: aria-controls=""menu-ghhpr"" at a[aria-controls=""menu-ghhpr""] Invalid ARIA attribute value: aria-labelledby=""Activity"" at #tab-activity Invalid ARIA attribute value: aria-labelledby=""Comments"" at #tab-comments Invalid ARIA attribute value: aria-labelledby=""Versions"" at #tab-versions Invalid ARIA attribute value: aria-controls=""menu-nylhx"" at a[aria-controls=""menu-nylhx""] Invalid ARIA attribute value: aria-controls=""menu-cnlil"" at a[aria-controls=""menu-cnlil""] Invalid ARIA attribute value: aria-controls=""menu-pdetg"" at a[aria-controls=""menu-pdetg""] Invalid ARIA attribute value: aria-controls=""menu-tmohy"" at a[text=""Menu\ Toggle""] Invalid ARIA attribute value: aria-controls=""menu-abdzj"" at .action-item__menutoggle etc.
Suggested Solution
There are a few more issues to report:
File and folder names under table column header "Name" are not coded as th
The iframe containing the PDF viewer is missing landmarks like main, nav, etc.
List under "Internal link" at .sharing-entry__internal
<li data-v-11d8ee66="" data-v-363f2816="" data-v-6c172dd3="" class="sharing-entry sharing-entry__internal" data-v-02f177dc="">
Headings skip levels (go from h2 to h5)
The focus jumps unexpectedly from the Comments Tab to the Comments input field
Focus indicators around the PDF buttons on the PDF viewer are very difficult to see
Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you!
I'm pretty sure this is still not done if you look at the references above.
All right.
There are various WCAG issues that are oustanding even though nextcloud claims to follow the standards. I have included an excel of the outstanding issues.
wcagFixes.xlsx
Including: @szet0018 @RubyDo