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-6103: ARIA - "ARIA attribute unsupported or prohibited" in Vertical Timelines #1766

Open
wants to merge 1 commit into
base: 11.8.1-release
Choose a base branch
from

Conversation

mariannuar
Copy link
Collaborator

@mariannuar mariannuar commented Mar 3, 2025

Summary

Fix aria attributes in Vertical Timelines

Need Review By (Date)

03/12

Urgency

medium

Steps to Test

  1. Go to https://pr1766-oul53tg46g49olxd2awym2ihyx59xlac.tugboatqa.com/components/vertical-timeline-without-and-collection
  2. Test by using a screen reader and keyboard navigation, and confirm everything is working well.
  3. Aria attributes are not necessary when using
    and in the markup

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?

@mariannuar mariannuar marked this pull request as ready for review March 3, 2025 16:31
@mariannuar mariannuar self-assigned this Mar 3, 2025
@mariannuar mariannuar requested a review from cienvaras March 3, 2025 16:31
Copy link
Collaborator

@cienvaras cienvaras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mariannuar Looks good! Just a minor fix needed.

});

// When a user clicks on a timeline, update the aria properties accordingly
// When a user clicks on a timeline, set open property accordingly
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment is misleading, please remove it. The open property is not add via javascript, the browser adds it automatically.

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.

3 participants