Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Mobile web: Add aria-labels to navbar buttons #13010 #4172

Merged
merged 3 commits into from
Nov 14, 2019

Conversation

MathewtheCoder
Copy link
Contributor

Summary

Added aria-label to both info button and search button in mobile web view.

Ticket Link

Fixes mattermost/mattermost#13010
JIRA: https://mattermost.atlassian.net/browse/MM-19752

@hanzei hanzei added 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester labels Nov 11, 2019
@hanzei
Copy link
Contributor

hanzei commented Nov 11, 2019

/check-cla

@cpanato
Copy link
Contributor

cpanato commented Nov 12, 2019

/check-cla

Copy link
Member

@hmhealey hmhealey left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, @MathewtheCoder! One small thing that was missed is that these labels should be translatable. You can do that by using the localizeMessage(messageId, defaultMessage) function from utils/utils.jsx to translate the string. You'll also need to add the string to i18n/en.json so that it can be picked up by our translation software

Copy link
Member

@saturninoabril saturninoabril left a comment

Choose a reason for hiding this comment

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

@MathewtheCoder I'm good with the changes, except for the comment on translation.

Ping me once updated, thanks

@saturninoabril saturninoabril added the Awaiting Submitter Action Blocked on the author label Nov 13, 2019
@saturninoabril saturninoabril added this to the v5.18.0 milestone Nov 13, 2019
@MathewtheCoder
Copy link
Contributor Author

@saturninoabril @hmhealey I have done the translations as requested.

Copy link
Member

@hmhealey hmhealey left a comment

Choose a reason for hiding this comment

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

Excellent. Thanks for making those changes

@hmhealey hmhealey removed 2: Dev Review Requires review by a core commiter Awaiting Submitter Action Blocked on the author labels Nov 14, 2019
Copy link
Member

@saturninoabril saturninoabril left a comment

Choose a reason for hiding this comment

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

@MathewtheCoder LGTM, thanks!

@saturninoabril saturninoabril added 4: Reviews Complete All reviewers have approved the pull request AutoMerge used by Mattermod to merge PR automatically QA Review Done and removed 3: QA Review Requires review by a QA tester labels Nov 14, 2019
@mattermod
Copy link
Contributor

Will try to auto merge this PR

@mattermod mattermod merged commit 5d12f9a into mattermost:master Nov 14, 2019
@mattermod
Copy link
Contributor

Pull Request successfully merged
SHA: 5d12f9a

@mattermod mattermod removed the AutoMerge used by Mattermod to merge PR automatically label Nov 14, 2019
@amyblais amyblais added the Changelog/Not Needed Does not require a changelog entry label Nov 14, 2019
@amyblais amyblais added the Docs/Not Needed Does not require documentation label Nov 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation QA Review Done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mobile web: Add aria-labels to navbar buttons
8 participants