New issue
Advanced search Search tips

Issue 779930 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 779931
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug
Team-Accessibility



Sign in to add a comment

alt text isn't displayed if an element wrapping an image has a font-size of 0

Reported by fst...@gmail.com, Oct 31 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36

Steps to reproduce the problem:
1. Start Chrome
2. Load the test file (also available at: https://codepen.io/fstorr/full/LzKgGj/)
2. Disable images (chrome://settings/content/images?search=images) or, using the test file, use the "break images" link.
3. Press the Toggle Text Size button to change the size of the text in the wrapping <figure> element

What is the expected behavior?
alt text should always be shown

What went wrong?
alt text wasn't displayed

Did this work before? N/A 

Does this work in other browsers? No
 Every browser apart from Edge doesn't display alt text if font-size is set to 0 on the element wrapping an image. As alt text is meant to be displayed if an image doesn't load, Edge's behavior, in displaying the alt text, improves the user experience for people in low-bandwidth areas or on pages with missing resources

Chrome version: 62.0.3202.75  Channel: stable
OS Version: Windows 10 Enterprise
Flash Version:
 
images-with-no-font-size.html
32.2 KB View Download
Labels: Needs-Triage-M62
Components: Blink>Accessibility
Mergedinto: 779931
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment