Closed Bug 1349355 Opened 9 years ago Closed 9 years ago

Tapping "Aa" from the "Aa" context menu causes text to change size

Categories

(Firefox for iOS :: General, defect, P3)

Other
iOS
defect

Tracking

()

VERIFIED FIXED
Tracking Status
fxios + ---

People

(Reporter: onigaadrian86, Assigned: justindarc)

Details

(Whiteboard: [MobileCore])

Attachments

(2 files)

Attached image Aa.jpg
Steps to reproduce: 1.Open Firefox 2.Go to bbc.com 3.Open an article in Reader Mode 4.Tap "Aa" and from the context menu tap "Aa" Actual results: 2.Page is displayed 3.Article is displayed in Reader Mode 4.Tapping "Aa" from the "Aa" context menu causes text to change size Expected results: 4.Tapping "Aa" from the "Aa" context menu should not change the size of the text Found on iPhone 6, iOS 10.2.1, Firefox version 8.0(1), buddybuild #2137
Justin, since you're looking at a similar bug might as well look at this
Status: UNCONFIRMED → NEW
tracking-fxios: --- → ?
Ever confirmed: true
Flags: needinfo?(jdarcangelo)
Taking this to investigate. Sounds like the Sans-serif/Serif bug.
Assignee: nobody → jdarcangelo
Status: NEW → ASSIGNED
Flags: needinfo?(jdarcangelo)
Priority: -- → P3
Whiteboard: [MobileCore]
Attached file GitHub Pull Request
This patch adds a slightly new behavior that I discussed with :tecgirl from UX where tapping the "Aa" will reset the font size in reader mode to the default size. This adds a new accessibility label to describe the behavior which I added to Strings.swift.
Attachment #8852189 - Flags: review?(sleroux)
I should also clarify, the problem in the original bug was caused by the -/+ button widths being 50% each and there was no "dead space" in between them. This is what caused the strange behavior where tapping "Aa" would seemingly randomly increase/decrease the font size.
Comment on attachment 8852189 [details] [review] GitHub Pull Request LGTM. We should file a follow up bug to add UI tests for this view. I don't think we have any for the reader view mode :/
Attachment #8852189 - Flags: review?(sleroux) → review+
There is PR coming shortly to have ReaderViewUI tests enabled again (Bug 1348268). Although this particular case is not covered yet. Once the existing tests are enabled we will work on adding more and see if this check can be added too :) And, there are also some UI Tests for the ReadingList view already running as UI.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verified as fixed on iPhone 6, iOS 10.2.1, Firefox 8.0(1), buddybuild #2356
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: