• Kyle Keating's avatar
    Remove aria-label from TagEditor and AnnotationPublishControl button · 4ae836c4
    Kyle Keating authored
    Per WCAG 2.1 criterion: 2.5.3 Label in Name--we should not differentiate between the aria-label and the visual name in an input element. In the case of the TagEditor, the `placeholder` and `aria-label` were different. The simple fix is to remove `aria-label`.
    
    The second problem is with AnnotationPublishControl's button where the `aria-label` and button's text did not match. Again, the simple fix is to remove `aria-label`.
    4ae836c4
AnnotationPublishControl-test.js 8.7 KB