-
Notifications
You must be signed in to change notification settings - Fork 265
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
chore(test): add aria labels for rows #6826
Conversation
Signed-off-by: Vladimir Lazar <vlazar@redhat.com>
Signed-off-by: Vladimir Lazar <vlazar@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but I would like to have someone from developer to take a look at tests.
FWIW the reason I didn't do this before is that name isn't unique, and there's no guarantee that any new item we decide to put in a table will have a name (although most of them appear to have one now). If the tests don't have situations where there are (e.g.) multiple images with the same name, then it'll be fine for now. |
No problem, I just could see possible ambiguity during testing if there are same names used in labels, but that could be workarounded with adding another role/name check. The unit test relying on multiple tooltips seemed awkward to me, that is all. |
What does this PR do?
Add aria-labels for images and container page rows
What issues does this PR fix or reference?
#5639
How to test this PR?
Check image and container rows to have aria-label property with the corresponding values.