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

Change erroneous role='icon' to role='img' #4051

Merged
merged 2 commits into from
Oct 28, 2019

Conversation

devinbinnie
Copy link
Member

Summary

The role='icon' was proposed in a version of ARIA back in 2015, but was never implemented. This PR changes all uses to role='img'. Done for WCAG, found during aXe investigation.

Ticket Link

https://mattermost.atlassian.net/browse/MM-19590

@devinbinnie devinbinnie added 2: Dev Review Requires review by a core commiter 3: QA Review Requires review by a QA tester labels Oct 24, 2019
@devinbinnie devinbinnie requested review from asaadmahmood and a team October 24, 2019 19:56
@ghost ghost requested review from bradjcoughlin and removed request for a team October 24, 2019 19:56
@bradjcoughlin bradjcoughlin removed the 2: Dev Review Requires review by a core commiter label Oct 25, 2019
@lindy65 lindy65 added Setup Cloud Test Server Setup a test server using Mattermost Cloud QA Review Done Tests/Not Needed Does not require new release tests and removed 3: QA Review Requires review by a QA tester Setup Cloud Test Server Setup a test server using Mattermost Cloud labels Oct 26, 2019
@mattermod
Copy link
Contributor

Test server destroyed

Copy link
Contributor

@lindy65 lindy65 left a comment

Choose a reason for hiding this comment

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

Thanks @devinbinnie - as discussed via DM, this is good from QA side.

@devinbinnie devinbinnie added the 4: Reviews Complete All reviewers have approved the pull request label Oct 28, 2019
@devinbinnie devinbinnie merged commit ca8e08b into mattermost:master Oct 28, 2019
@devinbinnie devinbinnie deleted the img_role_fix branch October 28, 2019 17:19
iwataka added a commit to iwataka/mattermost-webapp that referenced this pull request Oct 30, 2019
…d-ui-testing-for-channel-reference-autocompletion

* upstream/master: (58 commits)
  MM-18541 - Updating header description css (mattermost#4048)
  [MM-19441] Fix the case of redirecting to an unavailable channel (mattermost#4070)
  [GH-12954] Migrate 'components/admin_console/color_setting.jsx' and associated tests to TypeScript (mattermost#4080)
  MM-18910 Migrate utils/emoticons to typescript (mattermost#3853)
  Mm 12447 Migrate 'components/get_link_modal.jsx' and associated tests to TypeScript (mattermost#3954)
  MM 17278 - Stop posts lists from scrolling when the emoji picker is open (mattermost#3860)
  MM-18157 - added loading screen to members modal (mattermost#3725)
  MM-19017 - Updating markdown images (mattermost#4047)
  MM-18956: error_pages components and tests to TS (mattermost#4050)
  Request team from API if invite_id is missing (mattermost#4072)
  MM-19678 - Restored setSelected in MultiSelectList component (mattermost#4033)
  [GH-12956] Migrate 'components/admin_console/banner.jsx' to TypeScript (mattermost#4075)
  [GH-12955] Migrate 'components/admin_console/highlight.jsx' to TypeScript (mattermost#4076)
  Change erroneous role='icon' to role='img' (mattermost#4051)
  [MM-18989] Migrate 'components/save_button.jsx' and associated tests to TypeScript (mattermost#4046)
  correct the height of the team sidebar when there's an announcement (mattermost#4073)
  Publishing storybook using circle-ci (mattermost#4037)
  [MM-18988] Migrate components/recent_date to TypeScript (mattermost#3883)
  MM-18629 - Remove default value for radio elements in interacti… (mattermost#4059)
  Replaced functionality in deprecated lifecycle methods (mattermost#3947)
  ...
ashishmahi pushed a commit to ashishmahi/mattermost-webapp that referenced this pull request Oct 30, 2019
* Change erroneous role='icon' to role='img'

* Test fix
brewsterbhg pushed a commit to brewsterbhg/mattermost-webapp that referenced this pull request Nov 11, 2019
* Change erroneous role='icon' to role='img'

* Test fix
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Nov 18, 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 Tests/Not Needed Does not require new release tests
Projects
None yet
6 participants