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(accessibility): Add accessible name for ReplyField #704

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

bkepka-box
Copy link
Contributor

image

@bkepka-box bkepka-box requested a review from a team as a code owner September 18, 2023 10:54
@@ -10,6 +10,8 @@ ba.annotationsPost = Post
ba.annotationsSave = Save
# Aria label description for reply popup
ba.popup.reply.comment = Comment
# Aria label description for annotation comment field
ba.popup.reply.field = Type a comment
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this message given by the accessibility or messaging team? If not do we need to add something more specific like "Type an annotation comment"?

Copy link
Contributor Author

@bkepka-box bkepka-box Sep 20, 2023

Choose a reason for hiding this comment

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

@JChan106 Actually it was not given, I put it like this because it is the same as placeholder for the input field which is used in aria-describedby (can be seen on the screenshot). Should I change it to the "Type an annotation comment"?

Copy link
Contributor

Choose a reason for hiding this comment

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

Hm I see, I think it should be okay then if that's the case

Copy link
Contributor

@JChan106 JChan106 left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -10,6 +10,8 @@ ba.annotationsPost = Post
ba.annotationsSave = Save
# Aria label description for reply popup
ba.popup.reply.comment = Comment
# Aria label description for annotation comment field
ba.popup.reply.field = Type a comment
Copy link
Contributor

Choose a reason for hiding this comment

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

Hm I see, I think it should be okay then if that's the case

@mergify mergify bot merged commit 97fbfb8 into box:master Sep 21, 2023
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.

2 participants