Open Bug 1452646 Opened 6 years ago Updated 2 years ago

while clicking and navigating back, an outline is drawn

Categories

(Core :: Web Painting, defect, P3)

57 Branch
Unspecified
Linux
defect

Tracking

()

Webcompat Priority P3

People

(Reporter: karlcow, Unassigned)

References

()

Details

(Whiteboard: [webcompat])

Attachments

(1 file)

This is a spin-off of https://webcompat.com/issues/11540

1. Go to http://www.mcdonaldsindia.net/
2. Click on North & East India
3. Click back (firefox navigation bar)

Expected:
Same initial design

Actual:
A white outline appears on the left side.


https://webcompat.com/uploads/2017/10/6a3df9e8-ea65-4653-8a3e-0fbe1a8d3d30.jpg
I didn't check but this is probably due to an element within an <a> that is positioned off screen, as is often done for text that should be exposed to AT users but not to sighted users.

See how this test shows a large outline encompassing the <span class=offscreen> in Firefox, while in Chrome this doesn't contribute to the size of the outline.
Summary: while clicking some lines appears → while clicking and navigating back, an outline is drawn
(In reply to Cameron McCormack (:heycam) from comment #1)
> I didn't check but this is probably due to an element within an <a> that is
> positioned off screen, as is often done for text that should be exposed to
> AT users but not to sighted users.

That is essentially the issue here, though the page is achieving the effect by putting text-indent:-10000px on the <a>, so that its text content is not visible.

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: revisit → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: