Skip to content

Landing pages: a11y enhancements #5998

Merged
jeffgolenski merged 3 commits intomasterfrom
fix/a11y-fixes-landing-pages
Dec 29, 2016
Merged

Landing pages: a11y enhancements #5998
jeffgolenski merged 3 commits intomasterfrom
fix/a11y-fixes-landing-pages

Conversation

@jeffgolenski
Copy link
Copy Markdown
Member

@jeffgolenski jeffgolenski commented Dec 27, 2016

Fixes: #4467

a11y enhancements for the apps landing page. adding title tags, alt tags, aria labels.

enhancements for the plans landing pages will come in another PR.

No visual changes.

Apps Landing: adding proper titles to non-decorative svgs
@jeffgolenski jeffgolenski added [Focus] Accessibility Improving usability for all users (a11y) Admin Page React-powered dashboard under the Jetpack menu [Status] In Progress labels Dec 27, 2016
@jeffgolenski jeffgolenski added this to the 4.5 milestone Dec 27, 2016
@jeffgolenski jeffgolenski self-assigned this Dec 27, 2016
Apps landing: Adding aria labels and titles to svgs for a11y
@jeffgolenski jeffgolenski added [Status] Needs Review This PR is ready for review. and removed [Status] In Progress labels Dec 29, 2016
@jeffgolenski jeffgolenski added [Status] In Progress and removed [Status] Needs Review This PR is ready for review. labels Dec 29, 2016
Copy link
Copy Markdown
Contributor

@eliorivero eliorivero left a comment

Choose a reason for hiding this comment

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

Looking good! just a couple of changes to make.

</p>

<img src={ imagePath + '/apps/triple-devices.svg' } className="jp-landing-apps__devices" />
<img src={ imagePath + '/apps/triple-devices.svg' } className="jp-landing-apps__devices" role="img" alt="Example of three devices to use the WordPress apps. An iPhone, Android phone, and a apple laptop computer." />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Make alt attribute available for translation like alt={ __( 'string to translate' ) }

<p className="jp-landing-apps__btn-container">
<Button href="http://itunes.apple.com/us/app/wordpress/id335703880?mt=8" title={ __( 'WordPress.com in the App Store' ) } className="jp-app-button button-ios">
<svg width="28" height="28" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><path d="M74.7,62.2c-3.5-3.2-5.2-7.2-5.3-12.1c-0.1-6.2,2.8-11.1,8.5-14.5c-3.2-4.5-8-7.1-14.4-7.6c-2.4-0.2-5.2,0.3-8.7,1.5
<svg width="28" height="28" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" aria-labelledby="wpcomIosbtn" role="img"><title id="wpcomIosbtn">Download the free WordPress app for your iPhone</title><path d="M74.7,62.2c-3.5-3.2-5.2-7.2-5.3-12.1c-0.1-6.2,2.8-11.1,8.5-14.5c-3.2-4.5-8-7.1-14.4-7.6c-2.4-0.2-5.2,0.3-8.7,1.5
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This and other title tags should be available for translation.

Apps landing: adding proper syntax for translations of the title tags
within svgs  and alt tags
@jeffgolenski
Copy link
Copy Markdown
Member Author

@eliorivero Good eye. I've added all the translation syntax to the title and alt tags. Can you give it another look?

@jeffgolenski jeffgolenski added the [Status] Needs Review This PR is ready for review. label Dec 29, 2016
@jeffgolenski jeffgolenski merged commit 8ecb699 into master Dec 29, 2016
@jeffgolenski jeffgolenski deleted the fix/a11y-fixes-landing-pages branch December 29, 2016 16:55
@matticbot matticbot removed [Status] In Progress [Status] Needs Review This PR is ready for review. labels Dec 29, 2016
@dereksmart dereksmart restored the fix/a11y-fixes-landing-pages branch January 2, 2017 17:06
@dereksmart
Copy link
Copy Markdown
Contributor

merged to 4.5 479bf71

@dereksmart dereksmart deleted the fix/a11y-fixes-landing-pages branch January 2, 2017 17:07
jeherve added a commit that referenced this pull request Jan 9, 2017
dereksmart pushed a commit that referenced this pull request Jan 17, 2017
CHangelog: add #5457

Changelog: add #5487

Changelog: add #5708

Changelog: add #5879

Changelog: add #5932

Changelog: add #5963

Changelog: add #5968

Changelog: add #5996

Changelog: add #5998

Changelog: add #5999

Changelog: add #6012

Changelog: add #6013

Changelog: add #6014

Changelog: add #6015

Changelog: add #6023

Changelog: add #6024

Changelog: add #6030

Changelog: add #5465

CHangelog: add #6063

Changelog: add #6025

Changelog: add #5974

Changelog: add #6059

Changelog: add #6046

Changelog: add #5418

Changelog: move things around and add missing information.

Changelog: add #5565

Changelog: add #6087

Changelog: add #6095
dereksmart pushed a commit that referenced this pull request Jan 17, 2017
Changelog: add #5867

Changelog: add #5874

Changelog: add #5905

Changelog: add #5906

Changelog: add #5931

Changelog: add #5933

Changelog: add #5934

Bring over 4.4.2 changelog from branch-4.4

@see 18012a3

Changelog: add #5976, #5978, #5983

Changelog: add #5917

Changelog: add #5832

Changelog: add 4.4.2 release post link.

CHangelog: add #5457

Changelog: add #5487

Changelog: add #5708

Changelog: add #5879

Changelog: add #5932

Changelog: add #5963

Changelog: add #5968

Changelog: add #5996

Changelog: add #5998

Changelog: add #5999

Changelog: add #6012

Changelog: add #6013

Changelog: add #6014

Changelog: add #6015

Changelog: add #6023

Changelog: add #6024

Changelog: add #6030

Changelog: add #5465

CHangelog: add #6063

Changelog: add #6025

Changelog: add #5974

Changelog: add #6059

Changelog: add #6046

Changelog: add #5418

Changelog: move things around and add missing information.

Changelog: add #5565

Changelog: add #6087

Changelog: add #6095

Readme: add @tyxla to the list of contributors.

Improved changelog for your readability and enjoyment

updated the release date

finalizing the changelog with a few more edits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin Page React-powered dashboard under the Jetpack menu [Focus] Accessibility Improving usability for all users (a11y)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants