mattermost-plugin-github icon indicating copy to clipboard operation
mattermost-plugin-github copied to clipboard

mm-241 - adds aria labels to right hand side elements

Open maisnamrajusingh opened this issue 4 years ago • 23 comments

Summary

Hovering over the elements on the right hand side should display the labels for those items.

Ticket Link

https://github.com/mattermost/mattermost-plugin-github/issues/241

maisnamrajusingh avatar Jul 26 '21 13:07 maisnamrajusingh

Hello @maisnamrajusingh,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

mattermod avatar Jul 26 '21 13:07 mattermod

And what about the milestone icon?

hanzei avatar Aug 02 '21 12:08 hanzei

@hanzei is this ready to merge? Looks like it has two approvals. We can create follow-up tickets for the additional labels and icons?

jasonblais avatar Aug 05 '21 15:08 jasonblais

Codecov Report

Merging #462 (e8a192c) into master (f585550) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #462   +/-   ##
=======================================
  Coverage   15.51%   15.51%           
=======================================
  Files          15       15           
  Lines        4151     4151           
=======================================
  Hits          644      644           
  Misses       3465     3465           
  Partials       42       42           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Aug 06 '21 09:08 codecov-commenter

@hanzei I have assigned the changes to @sanjaydemansol He will take a look into it

maisnamrajusingh avatar Aug 12 '21 09:08 maisnamrajusingh

I'm also blocking on https://github.com/mattermost/mattermost-plugin-github/pull/462#discussion_r685672062

mickmister avatar Aug 17 '21 03:08 mickmister

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

mattermod avatar Aug 29 '21 01:08 mattermod

Should the PR/Issue title also have a label?

I guess it should have one, @sanjaydemansol can you add it.

maisnamraju avatar Sep 09 '21 08:09 maisnamraju

Should the PR/Issue title also have a label?

Please elaborate, what should be the content of label?

sanjaydemansol avatar Sep 13 '21 03:09 sanjaydemansol

Did do add a label for the milestone icon?

What should be the content of label? "milestone" ?

sanjaydemansol avatar Nov 02 '21 17:11 sanjaydemansol

The milestone name should also be part of the label.

hanzei avatar Nov 08 '21 11:11 hanzei

The milestone name should also be part of the label.

Used word "Milestone", 2/5..its more helpful to know what 1.2.3 actually is. Let me know If any changes needed. @hanzei thanks.

sanjaydemansol avatar Nov 09 '21 15:11 sanjaydemansol

@maisnamrajusingh Did you noticed by comment at https://github.com/mattermost/mattermost-plugin-github/pull/462#pullrequestreview-803526431?

hanzei avatar Nov 13 '21 07:11 hanzei

@maisnamrajusingh Did you noticed by comment at #462 (review)?

@hanzei here is suggestion from author https://github.com/mattermost/mattermost-plugin-github/issues/241#issuecomment-885384763 for similar request https://github.com/mattermost/mattermost-plugin-github/issues/241#issuecomment-884797740. I guess https://chrome.google.com/webstore/detail/screen-reader/kgejglhpjiefppelpmljglcjbhoiplfn?hl=en is not applicable in our case, since this PR is to make Icons user friendly instead of adding Accessibility.

sanjaydemansol avatar Nov 14 '21 15:11 sanjaydemansol

@sanjaydemansol @hanzei The original intention of the ticket was to add accessibility, though I got confused and forgot that the browser's native tooltip from the title attribute also aids in accessbility.

I propose we introduce the aria-labels as originally planned, as well as using the tooltip functionality that's used throughout the rest of the application, using the OverlayTrigger and Tooltip components from react-bootstrap:

https://github.com/mattermost/mattermost-webapp/blob/242a18c68908bbcfee0effd5bc6804d711670c4a/components/channel_header/components/header_icon_wrapper.tsx#L134

mickmister avatar Nov 15 '21 16:11 mickmister

@sanjaydemansol @hanzei The original intention of the ticket was to add accessibility, though I got confused and forgot that the browser's native tooltip from the title attribute also aids in accessbility.

I propose we introduce the aria-labels as originally planned, as well as using the tooltip functionality that's used throughout the rest of the application, using the OverlayTrigger and Tooltip components from react-bootstrap:

https://github.com/mattermost/mattermost-webapp/blob/242a18c68908bbcfee0effd5bc6804d711670c4a/components/channel_header/components/header_icon_wrapper.tsx#L134

@mickmister thank you for the clarity. Will make changes to the PR.

sanjaydemansol avatar Nov 15 '21 16:11 sanjaydemansol

@mickmister @hanzei, is this what we are looking for? (latest commit). Thanks.

sanjaydemansol avatar Dec 22 '21 17:12 sanjaydemansol

@hanzei I'm taking over this one. Just confirming if only the comment below is the remaining fix needed on this one ?

When testing with https://chrome.google.com/webstore/detail/screen-reader/kgejglhpjiefppelpmljglcjbhoiplfn?hl=en the following elements were not read out:

  • CI check
  • Labels
  • Milestone
  • Number of reviews
  • Time when the PR/issue was opened

Could you please check why they are not read out?

maisnamrajusingh avatar Mar 08 '22 06:03 maisnamrajusingh

@maisnamrajusingh That is indeed the case.

hanzei avatar Mar 08 '22 06:03 hanzei

/update-branch

mickmister avatar Apr 01 '22 16:04 mickmister

We don't have permissions to update this PR, please contact the submitter to apply the update.

mattermod avatar Apr 01 '22 16:04 mattermod

It seems there are a lot of unrelated changes in GitHub's diff view. This is likely because this branch is behind master and got into a weird state. @maisnamrajusingh Can you please update the branch with master?

Also, when you submitted this PR, did you check the box to allow maintainers to update the PR? Based on the message above, it seems that box may not have been checked.

mickmister avatar Apr 01 '22 16:04 mickmister

@mickmister this was an original pr by @sanjaydemansol I am not sure if it was ticked or not. Should I just send a new PR in place of this ?

Since there is already review and dicussion history on this PR, I think it makes sense to finish this one that's in progress

mickmister avatar Apr 19 '22 23:04 mickmister

This PR has been automatically labelled "stale" because it hasn't had recent activity. A core team member will check in on the status of the PR to help with questions. Thank you for your contribution!

mattermod avatar Oct 03 '22 01:10 mattermod

/update-branch

hanzei avatar Feb 20 '23 13:02 hanzei

We don't have permissions to update this PR, please contact the submitter to apply the update.

mattermost-build avatar Feb 20 '23 13:02 mattermost-build