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

WCAG 1.4.4 AA: Loss of carousel content when text resized (Issue 16) #374

Open
CJE001 opened this issue Sep 13, 2024 · 1 comment
Open
Assignees
Labels
A11y Issue is related to accessibility Type: Defect Issue is a defect
Milestone

Comments

@CJE001
Copy link

CJE001 commented Sep 13, 2024

Summary

Via Vision Australia assessment: August 2024

Impact: medium

Note: DTA have a 90 day remediation period to address the identified issues within the audit, all issues must be resolved to obtain WCAG 2.2 certification for digital.gov.au.

Steps to reproduce

digital.gov.au beta | digital.gov.au (https://www.digital.gov.au)

Observed outcome

When text is resized to 200%, the content and controls of carousel slides becomes truncated.

Text and button truncated, Slide 1
Picture33

Heading text truncated, Slide 2
Picture34

Code used

<div class="ct-slider__container" data-slider="">
<h3 class="ct-heading ct-theme-light ct-slider__title">
Featured initiatives
</h3>
<div class="ct-slider__slides" data-slider-panel="" style="height: 380px;">
<div class="ct-slider__slides__inner" data-slider-rail="" style="width: 1440px; height: 380px; left: 0%;">
<div class="ct-slide ct-theme-light ct-slide--image-left " data-slider-slide="" style="width: 720px; left: 0px; height: 380px;" data-slider-slide-hidden="true">
<div class="ct-slide__image">
<img class="ct-image ct-theme-light " src="/sites/default/files/images/2024-08/ai-policy-cover_square.jpg" alt="An image of the front cover of the Australian Government's policy for the responsible use of AI in government.">
</div>
<div class="ct-slide__wrapper">
<div class="ct-slide__inner">
<h2 class="ct-heading ct-theme-light ct-slide__title">
AI in government policy
</h2>
... 
</div>
</div>
... 
</div>
</div>
</div>
</div>

Why this matters

Users with low vision who need to enlarge text may not have full access to the content of the carousel.

Expected outcome

Preferably, consider the need for a carousel component. Carousels can present multiple barriers for people with disabilities and increase cognitive load. As the amount of content in this carousel is very small, it could be presented in another way, such as Call to Action (CTA) cards or as a list.

Alternatively, ensure that there is no loss of slide content when text is resized to 200%.

Related issues

For other issues related to this component, please refer to:

• Issue 6 – Carousel not contained within landmark region
• Issue 18 – Carousel functionality lost when reflowed
• Issue 25 – Visually hidden carousel elements in mobile focus order
• Issue 26 – Focus lost when carousel controls are disabled

@CJE001 CJE001 added the Type: Defect Issue is a defect label Sep 13, 2024
@github-project-automation github-project-automation bot moved this to Todo in UI Kit Sep 16, 2024
@fionamorrison23 fionamorrison23 added the A11y Issue is related to accessibility label Sep 17, 2024
@fionamorrison23 fionamorrison23 added this to the 1.10 milestone Sep 23, 2024
@fionamorrison23 fionamorrison23 removed their assignment Dec 12, 2024
@fionamorrison23 fionamorrison23 modified the milestones: 1.10, 1.11 Dec 12, 2024
@febdao febdao mentioned this issue Jan 17, 2025
10 tasks
@sonamchaturvedi28
Copy link

Test Env: DEV
Test Status: PASS
Test Result:

  • Carousel content is not truncated when text resized
Image Image Image

@febdao febdao self-assigned this Feb 10, 2025
@fionamorrison23 fionamorrison23 moved this from Todo to Done in UI Kit Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A11y Issue is related to accessibility Type: Defect Issue is a defect
Projects
Status: Done
Development

No branches or pull requests

5 participants