Open Bug 1945166 Opened 6 months ago Updated 4 months ago

[a11y] Touch target suggestion for the "Download" button in the PDF viewer

Categories

(GeckoView :: PDF Viewer, enhancement)

Firefox 135
All
Android
enhancement

Tracking

(Accessibility Severity:s4, firefox134 affected, firefox135 affected, firefox136 affected)

Accessibility Severity s4
Tracking Status
firefox134 --- affected
firefox135 --- affected
firefox136 --- affected

People

(Reporter: dpop, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

Steps to reproduce

  1. Have the Accessibility scanner app installed and opened.
  2. Launch Fenix.
  3. Open a PDF page
  4. Scan the PDF page.

Expected behavior

No suggestions are made.

Actual behavior

The "Download" button is flagged: This item's height is 20dp. Consider making the height of this touch target 48dp or larger.

Device information

  • Firefox version: Firefox version: Nightly 136.0a1, Beta 135.0b9 and Release 135.0 build 2
  • Android device model/Android OS version: Samsung Galaxy A53 5G (Android 14)

Wasn't this fixed in bug 1838602?

Flags: needinfo?(cdenizet)

It's expected that interactive target areas are to be 48dp or larger to allow users with limited dexterity and users on the go to better target and tap controls (per WCAG 2.2 Level AAA Success Criteria 2.5.5 and 2.5.8 Target Size (Enhanced and Minimum)). More details could be found in BBC Accessibility guide

That's being said, I agree that this is an enhancement, because the item is an inline control that is limited by the line height, but its length, in this case, enlarges the total area that can be tapped by being long, so marking it as access-S4

Accessibility Severity: --- → s4

The button has a height of 44dp but the span inside with the label is around 18dp (it depends of the font) and the toolbar itself is 49dp high.
:ayeddi, is it useful to increase the height of the span ?

Flags: needinfo?(cdenizet) → needinfo?(ayeddi)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: