Skip to content

Conversation

@kulmann
Copy link
Contributor

@kulmann kulmann commented Aug 7, 2025

change Close the bottom drawer label to a less technical Close the context menu.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the accessibility labels for the bottom drawer component to use more user-friendly language by changing "Close the bottom drawer" to "Close the context menu".

  • Updates aria-label text for better user experience and accessibility
  • Changes technical terminology to more contextually appropriate language

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
OcBottomDrawer.vue Updates aria-label attributes from "Close the bottom drawer" to "Close the context menu"
OcBottomDrawer.spec.ts.snap Updates test snapshots to reflect the new aria-label text

JammingBen
JammingBen previously approved these changes Aug 7, 2025
@kulmann kulmann force-pushed the adjust-bottom-drawer-label branch from 671df64 to fd3518a Compare August 11, 2025 06:35
@kulmann kulmann requested a review from JammingBen August 11, 2025 06:35
ref="bottomDrawerRef"
class="oc-bottom-drawer-background"
role="button"
:aria-label="$gettext('Close the bottom drawer')"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the aria-label, because it would replace (!) the accessible content of the entire <div>. Don't know if it's needed at all, but if yes, we could use aria-describedby instead. I'd prefer to leave it out. Also not sure if we really need the button role here.

@kulmann kulmann dismissed JammingBen’s stale review August 11, 2025 06:50

PR changed entirely

@JammingBen JammingBen merged commit 1f298df into main Aug 11, 2025
29 checks passed
@JammingBen JammingBen deleted the adjust-bottom-drawer-label branch August 11, 2025 07:47
@openclouders openclouders mentioned this pull request Aug 11, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants