carbon-components-angular icon indicating copy to clipboard operation
carbon-components-angular copied to clipboard

AVT issue - Form control element <button> has no associated label

Open AbhishekDuraphe opened this issue 3 years ago • 3 comments

Detailed description

Form control element

Is this a feature request (new component, new icon), a bug, or a general issue? AVT General issue

Is this issue related to a specific component? Yes ibm-tooltip-definition

What did you expect to happen? What happened instead? What would you like to see changed? The button element present/rendered under tag should have either of these attributes (aria-label, title, aria-labelledby)

What browser are you working in? Chrome

What version of the Carbon Design System are you using? "carbon-components-angular": "^4.59.9"

What offering/product do you work on - MCMP ? Any pressing ship or release dates we should be aware of - NO ?

Steps to reproduce the issue

Used IBM accessibility checker chrome plugin

Additional information

  • Screenshots or code AVT2_IBMAccessibilty_checker
AVT1

AbhishekDuraphe avatar Aug 11 '22 06:08 AbhishekDuraphe

Hey @AbhishekDuraphe, I cannot seem to reproduce this issue. Can you please create a code sandbox example?

Why do you have a button (within button, classed .filter-button) within ibm-definition-tooltip? Instead, why not use just use tooltip icon? Based on the second image that you've sent, it appears as if you're trying to add a tooltip to a filter icon?

Akshat55 avatar Sep 20 '22 03:09 Akshat55

@Akshat55 , I have not added any HTML implicitly here. This is generated after <ibm-tooltip-definition> carbon component is used. Use the IBM equal accessibility checker tool to verify the above AAT issue.

AbhishekDuraphe avatar Sep 29 '22 07:09 AbhishekDuraphe

@Akshat55 , I have not added any HTML implicitly here. This is generated after <ibm-tooltip-definition> carbon component is used. Use the IBM equal accessibility checker tool to verify the above AAT issue.

I can also see the same AVT violation for <ibm-tooltip-definition>

image

cc: @Akshat55

AmirHussain93 avatar Oct 18 '22 09:10 AmirHussain93