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

(Accessibility) Kibna Logs - Remove this column button does not announce the column #40421

Closed
barlowm opened this issue Jul 5, 2019 · 3 comments · Fixed by #41695
Closed
Assignees
Labels
Feature:Logs UI Logs UI feature Project:Accessibility Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services WCAG A

Comments

@barlowm
Copy link
Collaborator

barlowm commented Jul 5, 2019

Labels or instructions are provided when content requires user input.

Steps to reproduce (assumes NVDA or JAWS Screen Reader or similar)

NVDA Screen Reader is a free Screen Reader which can be downloaded from the NV Access Website
Deque has a page of shortcuts for help on using NVDA as well as a Quick Reference Guide for using NVDA

Steps to reproduce

  1. Launch NVDA Screen Reader
  2. Open the Logs page in the browser.
  3. Click the "Configuration" button
  4. Click the "Log Columns" tab
  5. Navigate over each "trashcan" icon listening to the screenreader

Untitled4

Untitled3

Without additional information the screenreader user can not identify which column they are about to delete.

Recommend
Adding some additional information tpo the aria-label to identify the column:

<button class="euiButtonIcon euiButtonIcon--danger" 
type="button" 
aria-label="Remove this column"  <--- Remove 
data-test-subj="removeLogColumnButton" 
title="Remove this column"
>

Note that title is preferred over aria-label in these cases as the title provides a tooltip, aria-label does not.

Change To:

<button class="euiButtonIcon euiButtonIcon--danger" 
type="button" 
title="Remove this column: Timestamp"  <--- Add additional information
data-test-subj="removeLogColumnButton">

This way the screenreader user knows which column will be deleted.

Also the title is superflous and screen reader announces both aria-label and title

Since columns for "Fields have the same basic name plus the field. Both the column type (e.g. Field) and the field name should be included.

<button class="euiButtonIcon euiButtonIcon--danger" 
type="button" 
aria-label="Remove this column"  <--- Remove
data-test-subj="removeLogColumnButton" 
title="Remove this column"
>

Change To:

<button class="euiButtonIcon euiButtonIcon--danger" 
type="button" 
title="Remove this column: Field - extension" <--- Add additional information
data-test-subj="removeLogColumnButton" >

Meta Issue
Accessibility Audit for Kibana 7.0

Kibana Version:
7.2

OS:
Tested on Windows 7. But issue exists in all OS's

Browser:
Tested in Chrome. But issue exists in all Browsers

Screen reader: [if relevant]
NVDA

Relevant WCAG Criteria: WCAG Criterion
3.3.2 Labels or Instructions - Level A

Relevant ARIA spec: WAI-ARIA Authoring Practices 1.1
ARIA14: Using aria-label to provide an invisible label where a visible label cannot be used
ARIA6: Using aria-label to provide labels for objects
What is the difference between aria-label and title attributes?

@sgrodzicki sgrodzicki added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Jul 11, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-logs-ui

@Zacqary
Copy link
Contributor

Zacqary commented Jul 22, 2019

Announcing both the title and aria-label attributes seems to be a bug in NVDA; standard recommends using aria-label and title in conjunction with each other, and some screen readers don't even announce the title. Testing this on Mac VoiceOver announces just aria-label, for example.

Not sure how to proceed in light of that, but I'll try implementing the change to aria-label and keeping the title attribute as recommended by the standard, and we can decide.

@Zacqary
Copy link
Contributor

Zacqary commented Jul 22, 2019

Sorry I missed the recommendation that we just replace aria-label with title, should have read more carefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Logs UI Logs UI feature Project:Accessibility Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services WCAG A
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants