[A11y Review] Accessibility review request for PDF Signatures and new PDF Tools on Android
Categories
(Firefox for Android :: General, task)
Tracking
()
| a11y-review | changes required |
People
(Reporter: olivia, Assigned: A02291979, NeedInfo)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: access, Whiteboard: [fxdroid][group6])
Attachments
(1 file)
|
257.44 KB,
image/png
|
Details |
Description:
On Android, we are adding new functionality that expands PDF viewer functionality.
When a user navigates to a PDF, we are adding a new toolbar that has buttons for signing, printing, downloading, and sharing a PDF.
Signing a PDF is the most complicated and is a fully new flow on Android. (The other features were available in the browser menu, but more hidden. They also received a behavior refresh in some cases.)
This feature already exists in Desktop for a comparison point as well.
Reference Links
- Figma UI
- QA Outline
- QA Ticket
- JIRA Meta
- Bugzilla meta
- Existing known a11y tickets linked from this bug
How do we test this?
- The feature is available in Firefox for Android in Nightly only when bug 2071388 lands and is shipped to the Play Store (normally pends a few days after landing).
- Navigate to a PDF page, such as this demo PDF with different layouts or any website showing a PDF ending in
.pdfor a local on device PDF. - The new tools will be presented on the PDF as "Add a signature", "Download PDF", "Print PDF", "Share PDF" as a toolbar on tablets or floating buttons on phones.
- The add signature a signature flow to the PDF is entirely new.
Additional Information
Background:
Prior to this change, and what you will see in Release Firefox for Android right now, there is a toolbar mounted to the top of PDF pages with a download button. This toolbar is drawn on the browser layer by PDF.js itself using HTML components.
The new toolbar in Nightly is drawn on the Fenix UI layer by Android native components. The signature is passed back to the PDF.js layer for placement.
Phone and tablet sized devices have different designs:
- The functionality on phone sized devices are floating buttons overlaid on the PDF content located in the bottom quarter of the screen.
- The functionality on tablet sized devices is a floating toolbar overlaid on the PDF content located in the top quarter of the screen.
User scenarios:
The most important and entirely new scenario is the new sign a PDF user scenario case. The other toolbar options, download, print, and share, were preexisting functionality that was accessed in different ways.
Scenario 1 Sign - entirely new flow
Add a signature annotation to the document. For example, signing a permission slip or contract. This flow is entirely new on Android and introduced in this change.
- Navigate to a PDF
- Navigate to the PDF toolbar (should be presented after the browser main menu)
- Select “Add a signature”
- A dialog box will appear for the user to add a signature
- It has the options to, “Clear”, “Close”, “Add” and type a signature
- If Add is selected with a typed signature:
- The signature is added to the PDF and should be movable, sizable, and closable.
- Note: We have active bugs here and are working on making sure TalkBack is presented with the elements properly: bug 2084956, bug 2084998, bug 2084956.
- At the time of writing this, the user needs to "Add" the signature, use "next element" gesture, and focus will be placed on the signature. It is difficult right now to find this focus again later and some of the controls aren't presented as they should be.
- This newly added signature is not automatically saved to the document and is only visible during this session. To make it permanent, the user must download the document.
Scenario Download , Print, or Share:
These features pre-existed on Android, but received a refresh and more prominent entrance point.
- Navigate to a PDF
- Navigate to the PDF toolbar (should be presented after the browser main menu)
- Select “Download PDF” or "Print PDF" or "Share PDF"
- Depending on feature:
- The download dialogue should open asking to confirm the name, download the item, and a toast should appear to show success.
- The Android native print dialogue should launch and guide the user through the print options.
- The Android share sheet should appear with the PDF attached and present the user with various options depending on what is installed on the device. For example, email the PDF, send through Slack or SMS, or even print.
When will this ship?
Release is upcoming, predicted in around 2-3 release cycles ~ version 164. Release could be sooner if issues are resolved sooner. The feature still has pending blocking bugs, including blocking accessibility bugs. The feature is in development in Nightly for testing and focus is on resolving known issues right now.
Tracking bug/issue:
Design documents (e.g. Product Requirements Document, UI spec):
Engineers:
- Olivia Hall
- Calixte Denizet
UI/UX lead:
Aarjav Pandya
Product manager:
Justin Billman
Please describe the accessibility guidelines you considered and what steps you've taken to address them:
- Followed standard Android accessibility guidelines
- Used standard library UI components when possible
- Engineering self-test using TalkBack - bug 2063416
- Consulted accessibility design document
- Consulted accessibility-frontend-reviewers for a focus order question
- There are active known a11y tickets we are still working on:
- Bug 2084998 - [A11y] Improve focusability of signature elements that no longer have an edit toolbar
- Bug 2084989 - [A11y] Focusing on the ressizer handlebars is difficult / not consistently possible and they do not present as labeled actionable elements
- Bug 2084956 - [A11y] It is difficult to put focus on the signature element itself
Describe any areas of concern to which you want the accessibility team to give special attention:
- We have some active bugs filed at Bug 2063416 that we would appreciate any feedback or suggestions on.
- The interaction between adding a signature and dropping the signature on a page is a brand new flow on Android and would benefit the most from testing. We are working on issues around accessibility of placement of the signature right now.
- Whether content and element distinguishability is satisfactory or any other design review concerns.
- Any other special considerations on this flow where we move from native Android UI controls to browser element control.
Updated•29 days ago
|
| Reporter | ||
Comment 1•29 days ago
|
||
The Slack for this project is #tmp-pdf-android-workgroup for more direct discussion too!
| Reporter | ||
Updated•29 days ago
|
Comment 2•29 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox for Android::Toolbar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Reporter | ||
Comment 3•29 days ago
|
||
(Originally put in Fenix:General because the a11y-review flag doesn't show up in GeckoView:PDF Viewer.)
| Reporter | ||
Updated•29 days ago
|
| Reporter | ||
Comment 4•29 days ago
|
||
Looks like moving it removed and reset the a11y-review flag, moving it back.
| Assignee | ||
Comment 5•24 days ago
|
||
Other than the issues that are already documented, I found the following problems:
Whether TalkBack is active or not, moving the signature element around on the PDF or resizing the signature element both require the user to press and drag it. This is a failure of 2.5.7 Dragging Movements: https://www.w3.org/TR/WCAG22/#dragging-movements
The user should be able to move and resize the signature element with tapping rather than dragging. Here's an example of how this might be accomplished:
-Tap the signature box to select it.
-Tap a destination to move it, or use arrow keys.
-Tap plus/minus to resize it, or enter height/width.
Whether TalkBack is active or not, when the user moves the signature element into the second page that has a landscape orientation, the signature resizer box and the text of the signature don't stay aligned with each other, with the signature moving in different directions. This makes it very difficult to place the signature.
While TalkBack is active, activating the "Add" button in the "Add a signature" dialog causes the TalkBack focus to be set to the "Site Information" element in the top left corner of the screen. A more logical place to set the focus to is the signature element, so that the user can immediately begin moving or resizing it. https://www.w3.org/TR/WCAG22/#focus-order
Comment 6•23 days ago
|
||
@olivia Please see Claire's feedback
| Reporter | ||
Comment 7•22 days ago
|
||
Thanks, Claire!
Will you be our contact for this project or would you prefer we reach out to a group? Would you all prefer we contact you on each ticket as it is completed, for more of a continuous review, or reach out once at the end when we have resolved all of the issues?
I filed:
- Bug 2088910 - [A11y] Adjust signature placement and resizing to not only require dragging
- Bug 2088921 - Placement of a signature can go haywire under certain conditions (landscape to portrait placement)
- For the focus placement issue, I added it as a requirement on Bug 2084956 - [A11y] It is difficult to put focus on the signature element itself
So, our total known issues right now are:
- Bug 2084998 - [A11y] Improve focusability of signature elements that no longer have an edit toolbar
- Bug 2084989 - [A11y] Focusing on the ressizer handlebars is difficult / not consistently possible and they do not present as labeled actionable elements
- Bug 2084956 - [A11y] It is difficult to put focus on the signature element itself
- Bug 2088910 - [A11y] Adjust signature placement and resizing to not only require dragging
- Bug 2088921 - Placement of a signature can go haywire under certain conditions (landscape to portrait placement)
We'd welcome any recommendations on the tickets as well!
| Reporter | ||
Updated•22 days ago
|
| Reporter | ||
Updated•22 days ago
|
Comment 8•22 days ago
|
||
I'll jump in here, Olivia. I'd recommend aggregating as many of the fixes as possible, vs. pinging the A11y Team/WebAIM on each individual fix. Claire is part of our A11y partners at WebAIM. Let's try to optimize her time across multiple projects. If you have a sense of timing, we can plan for Claire to review as many of the fixes together vs "onesie, twosie" individual efforts.
| Reporter | ||
Comment 9•22 days ago
|
||
Sounds like a great plan, thank you, Frank!
I'm not sure of the timing just yet, but we are aiming to release the feature by the end of the year. (We have these prioritized as P0 - required for release.)
I suspect we will be ready for another a11y review by mid December. With some luck, maybe a little sooner depending on our velocity.
Updated•16 days ago
|
| Reporter | ||
Comment 10•2 days ago
|
||
Just leaving a quick update. The project only has bug 2088910 left as a review identified open a11y issue.
We received clearance that bug 2088910 isn't blocking release, but something we should work to follow-up on ASAP. The UI/UX team is working on new designs to have an alternative option to the dragging experience for resizing/repositioning. Because that issue was released as a blocking requirement, the feature is currently planned for v163 via rollout.
I plan on re-requesting review once this new option in bug 2088910 is settled and added.
I also have an engineering bug 2093325 filed as an a11y improvement, but I suspect part of it may have been solved elsewhere. (It is also improved by bug 2088910 providing an alternative option.) It wasn't identified in the review, so I'm treating it as an improvement unless the severity or priority is bumped up by someone else.
Description
•