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

#2294 Fix Accessibility Violations - 2 #2295

Merged
merged 9 commits into from
Jan 16, 2025

Conversation

srikant-ch5
Copy link
Contributor

Ref: #2294

Fixes Notification Icon Accessibility Violation.
Screenshot 2025-01-09 at 9 20 18 PM

Fixes Properties Table Icon Accessibility Violations.
Screenshot 2025-01-09 at 9 21 17 PM

Developer's Certificate of Origin 1.1

   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

@srikant-ch5 srikant-ch5 self-assigned this Jan 9, 2025
Copy link
Member

@matthoward366 matthoward366 left a comment

Choose a reason for hiding this comment

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

Does carbon have this icon? We shouldn't need to include most icons as this point.

@srikant-ch5
Copy link
Contributor Author

Does carbon have this icon? We shouldn't need to include most icons as this point.

I have updated ArrangeVertical, ArrangeHorizontal and Notification SVG's with Carbon Icons.

@matthoward366
Copy link
Member

Can we delete the replaced icons?

@matthoward366 matthoward366 requested a review from tomlyn January 13, 2025 15:39
@matthoward366
Copy link
Member

@tomlyn can you review this?

Copy link
Member

@tomlyn tomlyn left a comment

Choose a reason for hiding this comment

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

Hi Srikant
While I think it's a good idea to replace the icons with those from the Carbon Icons Library this change has unfortunately removed some function.

That is, in the current code when the notification panel contains messages, the 'dot' in the notification counter icon is colored to indicate the top-most severity of the messages shown in the panel.

You can test this in the test harness by adding a message using the API right flyout. When you add a message you can set its severity ("message type") and the dot will be colored based on which is the most severe message. Like this:

image

Unless we get approval from Design to remove this function we probably ought to keep it working the same way.

@srikant-ch5
Copy link
Contributor Author

Hi Srikant While I think it's a good idea to replace the icons with those from the Carbon Icons Library this change has unfortunately removed some function.

That is, in the current code when the notification panel contains messages, the 'dot' in the notification counter icon is colored to indicate the top-most severity of the messages shown in the panel.

@tomlyn I have reverted that Notification Icon change and included aria-label to fix Accessibility Violation in that SVG.
Screenshot 2025-01-15 at 8 51 52 PM

Also included aria-label for d3-svg-canvas-div keyboard-navigation to resolve below Violation.
Screenshot 2025-01-15 at 8 53 03 PM

@tomlyn tomlyn self-requested a review January 16, 2025 06:39
Copy link
Member

@tomlyn tomlyn left a comment

Choose a reason for hiding this comment

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

LGTM

@tomlyn tomlyn merged commit eb5e478 into elyra-ai:main Jan 16, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants