Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix external images flaws in Web/CSS #2627

Merged

Conversation

peterbe
Copy link
Contributor

@peterbe peterbe commented Feb 23, 2021

No description provided.

@peterbe peterbe requested a review from a team as a code owner February 23, 2021 21:15
@peterbe peterbe requested review from ericwbailey and removed request for a team February 23, 2021 21:15
@peterbe
Copy link
Contributor Author

peterbe commented Feb 23, 2021

Note, there are still some flaws in these 10 pages but they're at least not external images.

@sideshowbarker sideshowbarker changed the title fix external images flaws in Web/CSS Fix external images flaws in Web/CSS Feb 24, 2021
@sideshowbarker sideshowbarker merged commit 07da89b into mdn:main Feb 24, 2021
@peterbe peterbe deleted the fix-external-images-flaws-in-webcss branch February 24, 2021 12:27
Copy link
Member

@ericwbailey ericwbailey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking good to me. Some feedback on alt descriptions that I'd like to see updated as long as work is being done in these files.

@@ -42,7 +42,7 @@ <h3 id="Result">Result</h3>

<p>A progress bar using this style might look something like this:</p>

<p><img alt="" src="https://mdn.mozillademos.org/files/12041/Screen%20Shot%202015-12-04%20at%2020.14.48.png"></p>
<p><img alt="" src="screen_shot_2015-12-04_at_20.14.48.png"></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we provide an alt description for this?

@@ -41,7 +41,7 @@ <h3 id="Result">Result</h3>

<p>A progress bar using this style might look something like this:</p>

<p><img alt="The thumb of the &lt;input type=right> styled in green" src="https://mdn.mozillademos.org/files/12027/Screen%20Shot%202015-12-04%20at%2013.30.08.png"></p>
<p><img alt="The thumb of the &lt;input type=right> styled in green" src="screen_shot_2015-12-04_at_13.30.08.png"></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I weirdly don't have the ability to make a suggestion here. Can we update the closing > in the alt description, and add a period to the end?

@@ -13,7 +13,7 @@

<p class="summary">Breadcrumb navigation helps the user to understand their location in the website by providing a breadcrumb trail back to the start page.</p>

<p><img alt="Links displayed inline with separators" src="https://mdn.mozillademos.org/files/16228/breadcrumb-navigation.png" style="height: 108px; width: 1268px;"></p>
<p><img alt="Links displayed inline with separators" src="breadcrumb-navigation.png"></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a period to the end of this alt description?

@@ -15,7 +15,7 @@

<p class="summary">The <em>Media Object</em> is a pattern we see all over the web. <a href="http://www.stubbornella.org/content/2010/06/25/the-media-object-saves-hundreds-of-lines-of-code/">Named by Nicole Sullivan</a> it refers to a two-column box with an image on one side and descriptive text on the other, e.g. a facebook post or tweet.</p>

<p><img alt="" src="https://mdn.mozillademos.org/files/16112/media-object.png"></p>
<p><img alt="" src="media-object.png"></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add an alt description?

@@ -13,7 +13,7 @@

<p class="summary">This cookbook pattern demonstrates the navigation pattern used to display pagination, where the user can move between pages of content such as search results.</p>

<p><img alt="Links to sets of pages in a paged listing" src="https://mdn.mozillademos.org/files/16279/pagination.png" style="height: 192px; width: 950px;"></p>
<p><img alt="Links to sets of pages in a paged listing" src="pagination.png"></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a period to the end of this alt description?

@@ -73,7 +73,7 @@ <h3 id="Setting_a_bitmap-based_mask_border">Setting a bitmap-based mask border</

<p>In this example, we will mask an element's border with a diamond pattern. The source for the mask is a ".png" file of 90 by 90 pixels, with three diamonds going vertically and horizontally:</p>

<p><img alt="" src="https://mdn.mozillademos.org/files/15836/mask-border-diamonds.png" style="height: 90px; width: 90px;"></p>
<p><img alt="" src="mask-border-diamonds.png"></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we provide an alt description for this?

@@ -19,7 +19,7 @@

<h2 id="Syntax">Syntax</h2>

<p><img alt="" src="https://mdn.mozillademos.org/files/12215/position_type.png" style="float: left; height: 230px; width: 362px;">The <code>&lt;position&gt;</code> data type is specified with one or two keywords, with optional offsets.</p>
<p><img alt="" src="position_type.png" style="float: left;">The <code>&lt;position&gt;</code> data type is specified with one or two keywords, with optional offsets.</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we provide an alt description for this?

@ericwbailey
Copy link
Member

Shoot, didn't see this was merged already. Ignore me!

@Ryuno-Ki
Copy link
Collaborator

@ericwbailey Alternatively, create a follow-up PR :)

@peterbe
Copy link
Contributor Author

peterbe commented Feb 25, 2021

@ericwbailey Sorry to hear that you missed the fact that it got merged. That's annoying.

I actually only ran the fixable flaws on these pages. So the alt="" was unfortunately already present and still is :(

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants