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

SHS-6001: Accessibility issues in lists of people #1729

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

mariannuar
Copy link
Collaborator

@mariannuar mariannuar commented Jan 28, 2025

Summary

  • Make structured card full clickable to avoid having redundant information
  • Add more context to the links inside the structured card

Need Review By (Date)

01/30

Urgency

medium

Notes

  • To avoid having redundant links, it's necessary to go to the configuration of the view and remove the Link media to parent for the Image field
  • All links inside structured card (it's the pattern being used in person lists) are going to have this structured <a href="/"><span class="visually-hidden">Emilius Aalto: </span>Website</a>, except mailto links and the title link

Steps to Test

  1. Go to /default-views/people
  2. Scroll down to Default People view - People List Link (Grouped) Display
  3. Confirm the whole card is clickable and it works and looks as expected when interacting with it.
  4. Confirm that you can interact with text inside the card without the issue of being redirect immediately to another page. (Please check this also in /default-views/news
  5. Check links inside the card (Like Personal Website, Email, etc) now have this structured <a href="/"><span class="visually-hidden">Emilius Aalto: </span>Website</a>, except mailto links and the title link

Review Tasks

Backend / Functional Validation

Code

  • Are the naming conventions following our standards?
  • Are PHP functions and variables in snake_case and not camelCase?
  • Does Drupal code follow Drupal Coding Standards?
  • Does the code have sufficient inline comments?
  • Is there anything in this code that would be hidden or hard to discover through the UI?
  • Are there any code smells?
  • Are tests provided?

Code security

General

  • Is there anything included in this PR that is not related to the problem it is trying to solve?
  • Is the approach to the problem appropriate?

@ahughes3 ahughes3 temporarily deployed to Tugboat January 28, 2025 16:58 Destroyed
@ahughes3 ahughes3 temporarily deployed to Tugboat January 28, 2025 18:45 Destroyed
@mariannuar mariannuar requested a review from cienvaras January 28, 2025 18:58
@ahughes3 ahughes3 temporarily deployed to Tugboat February 4, 2025 00:31 Destroyed
@ahughes3 ahughes3 temporarily deployed to Tugboat February 5, 2025 16:04 Destroyed
… the links inside structured card, except mailto and title links
Base automatically changed from 11.6.4-release to develop February 6, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants