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

Allure report accessibility issues #2264

Open
1 of 13 tasks
cmorten opened this issue Dec 21, 2023 · 4 comments
Open
1 of 13 tasks

Allure report accessibility issues #2264

cmorten opened this issue Dec 21, 2023 · 4 comments
Labels
type:bug Something isn't working

Comments

@cmorten
Copy link

cmorten commented Dec 21, 2023

Describe the Bug

There are a number of areas of the generated Allure report that are not considered accessible to all users under the Web Content Accessibility Guidelines (WCAG) 2. This is currently impacting a range of users such as those with poor vision, colour-blindness, folks who make use of assistive technologies such as screen readers, etc.

It would be fantastic to start addressing some of these issues so Allure reports can be easily used by everyone regardless of their personal access requirements.

As a starter, here is a non-exhaustive list of serious/critical issues broken down by top level view, captured using the Axe DevTools Chrome Extension:

(I've not repeated cross-cutting issues for each page).

Steps to Reproduce

  1. Generate Allure report
  2. View Allure report in a browser
  3. Observe visual, keyboard, and assistive technology issues

For reproducing the issues reported above:

  1. Open Chrome browser
  2. Install Axe DevTools extension from https://chromewebstore.google.com/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd
  3. Open an Allure report in the Chrome browser
  4. In Chrome DevTools navigate to the "axe DevTools" tab
  5. Click "Scan ALL of my page"
  6. Observe the reported results for that page

The Chrome Developer docs also have a number of runthroughs and resources for observing / testing accessibility issues, see https://developer.chrome.com/docs/devtools/accessibility/reference.

Expected Behaviour

There should be no critical/serious accessibility issues with Allure reports, allowing all users to successfully understand a report regardless of their personal access requirements.

Screenshots or Additional Context

No response

What Language are you using?

JavaScript, TypeScript

What Framework/Allure Integration you are using?

allure-playwright

What version of Allure Integration you are using?

2.10.0

What version of Allure Report you are using?

2.25.0

Code of Conduct

  • I agree to follow this project's Code of Conduct
@cmorten cmorten added triage type:bug Something isn't working labels Dec 21, 2023
@baev baev removed the triage label Jan 9, 2024
@noomorph
Copy link
Contributor

According to an experienced NVDA user (who is totally blind), he was able to navigate the report without any issues. Although, it would be great if this bug report could be fixed in the future.

Zdråvej, trěboval jesm 2 razy obnoviti strånicų F5, bo najpŕvo ne jesm viděl ničto, ale potom je bylo vśe dobro.
Hello, I had to refresh the F5 page twice, because at first I didn't see anything, but then everything was fine.

I'm not sure why he needed to refresh twice, but it could be due to the hosting server issues – I can't pinpoint the issue at the moment.

@cmorten
Copy link
Author

cmorten commented Feb 26, 2024

@noomorph great stuff testing with a real AT user!

I would say that sounds consistent with the Axe analysis - the only recommendations that could be impacting a screen reader are the search input label and the timeline links (there may be other bits that Axe hasn’t found as well). If NVDA is handling it well then awesome, probably worth still doing as best practice, and may still be beneficial for other screen readers such as JAWS and VoiceOver.

The majority of issues according to the report are for colour contrast which won’t impact no vision folks who rely on a screen reader, but will impact folks with low vision or vision deficiencies such as colour blindness who are navigating the report visually.

@baev
Copy link
Member

baev commented Feb 26, 2024

By the way, we have this ticket on the radar, although it isn't yet prioritised.

@cmorten, is it a blocker for you? Do you have some team members who are struggling with the Allure Report at the moment, or do you need to for compliance reasons?

@cmorten
Copy link
Author

cmorten commented Feb 26, 2024

No blocker for me, so no rush on my end!

I have a project for which I have been evaluating different reporter options, and tend to run a quick scan as a matter of course to check accessibility as part of evaluating options.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants