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

fix(a11y): contrast, checkbox focus and space member search label #11591

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

JammingBen
Copy link
Collaborator

@JammingBen JammingBen commented Sep 17, 2024

Description

  • Fixes the issue where the current focus would not change when navigating the resource table/tiles with the keyboard.
  • Fixes the border color contrast for focused inputs. The border colors for the inputs in general need a color token change and therefore need a change in ocis (see fix(theme): input border color contrasts ocis#10076).
  • Redesigns the space member search in the right sidebar so it has a label. Also moves the search from the top of the sharing panel to the members section where all members are listed.
image

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@JammingBen JammingBen self-assigned this Sep 17, 2024
@JammingBen JammingBen changed the title fix(a11y): contrasts and checkbox focus on keyboard navigation fix(a11y): contrast, checkbox focus and space member search label Sep 17, 2024
@JammingBen JammingBen force-pushed the fix/contrasts-controll-elements branch 2 times, most recently from e280d1a to dbf25f2 Compare September 17, 2024 12:22
@@ -1,7 +1,6 @@
<template>
<tr
ref="observerTarget"
tabindex="-1"
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't see a reason to set tabindex="-1" here. A tr can't be focused and we don't have a scenario where we want to focus it programmatically.

Fixes the issue where the current focus would not change when navigating the resource table/tiles with the keyboard.
Redesigns the space member search in the right sidebar so it has a label. Also moves the search from the top of the sharing panel to the members section where all members are listed.
Copy link

sonarcloud bot commented Sep 17, 2024

@JammingBen JammingBen marked this pull request as ready for review September 17, 2024 13:12
Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

Awesome enhancements! 😍

@JammingBen JammingBen merged commit fe6369f into master Sep 18, 2024
3 checks passed
@JammingBen JammingBen deleted the fix/contrasts-controll-elements branch September 18, 2024 08:38
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.

[a11y] 9.1.3.1h Labeling of form elements can be determined programmatically
2 participants