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

batch of a11y updates #1527

Merged
merged 15 commits into from
Aug 10, 2023
Merged

batch of a11y updates #1527

merged 15 commits into from
Aug 10, 2023

Conversation

rossedfort
Copy link
Contributor

@rossedfort rossedfort commented Aug 3, 2023

Description & motivation 💭

This is a PR for a large batch of a11y improvements to the UI

#1513 - Icon Button Labels
#1515 - Semantic HTML and Aria Updates
#1520 - Toggle Button a11y
#1535 - Namespace Switcher and Split Button a11y
#1537 - Alt text for Images

Screenshots (if applicable) 📸

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

rossedfort and others added 4 commits July 31, 2023 09:43
* add icon titles to copy buttons

and copy button in tooltips
use 2000 ms default timeout for copyable - it gives SR time to announce new icon

* add label to all icon buttons

* clean up data-encoder-status and add labels

* fix input label margin
chip input support string or fn label
add a common i18n string for cloud

* move copyable to holocene

* Update src/lib/components/event/event-details-row-expanded.svelte

Co-authored-by: Laura Whitaker <laura.whitaker@temporal.io>

* rm namespace-selector

* fix orderable-list-item types

---------

Co-authored-by: Laura Whitaker <laura.whitaker@temporal.io>
* Add aria-label to all Tables

* Add aria-label to Tables and translate Namespace details page

* Fix font-style

* Remove h6 from WorkflowStatus

* Add aria-label to encoder button

* Translate aria-labels, etc

* Use caption instead of aria-label for Table components

* Add sr-only version text to primary nav

* Move main nav outside of main and ensure proper roles

* Remove heading element from subtitle on Accordion

* Only read version if there is one

* Update table snapshot with span instead of h6 for Status
* make ToggleButton accessible

add keyboard navigation and hover/focus state
add screen reader support

* fix disabled state

* use min-w-fit on toggle switch for smaller screens

* cleanup css

* add hover state to checked toggle switch
@vercel
Copy link

vercel bot commented Aug 3, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
holocene ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 10, 2023 5:41pm

rossedfort and others added 2 commits August 7, 2023 14:36
* Add aria-hidden to heartbeat svg on WorkflowStatus

* Translate alt for user profile img

* Add aria-labelledby to loading img

* Remove link and alt from logo

* Add title to icon and keyboard shortcut svgs

* Update snapshots

* Use  for holocene links

* CR feedback
@rossedfort rossedfort marked this pull request as ready for review August 10, 2023 15:47
@rossedfort rossedfort requested a review from a team as a code owner August 10, 2023 15:47
@rossedfort rossedfort requested review from feedmeapples and removed request for a team August 10, 2023 15:47
@rossedfort rossedfort requested review from Alex-Tideman and laurakwhit and removed request for feedmeapples August 10, 2023 15:56
@rossedfort rossedfort changed the title [WIP] - batch of a11y updates batch of a11y updates Aug 10, 2023
@@ -30,17 +30,19 @@
}
</script>

<div
<nav
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like clicking on data encoder settings no longer shows the settings unless you are at the top of the page

Screenshot 2023-08-10 at 10 56 50 AM

@rossedfort rossedfort merged commit 3388af1 into main Aug 10, 2023
9 checks passed
@rossedfort rossedfort deleted the a11y-updates branch August 10, 2023 18:14
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