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

SITES-26450 - Accessibility Issues with AEM Core Components (Form) - WCAG 2.1 Compliance #2913

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

LSantha
Copy link
Contributor

@LSantha LSantha commented Jan 28, 2025

  • implemented support for displaying validation messages in the markup by based on the HTML 5 form validation
  • updated unit tests
  • updated selenium tests
Q                       A
Fixed Issues? SITES-26450
Patch: Bug Fix?
Minor: New Feature?
Major: Breaking Change?
Tests Added + Pass? Yes
Documentation Provided Yes (code comments and or markdown)
Any Dependency Changes?
License Apache License, Version 2.0

…WCAG 2.1 Compliance

 * implemented support for displaying validation messages in the markup by based on the HTML 5 form validation
 * updated unit tests
 * updated selenium tests
Copy link

codecov bot commented Jan 28, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 87.14%. Comparing base (b6dc1b6) to head (c6160f3).

Files with missing lines Patch % Lines
...e/components/internal/models/v1/form/TextImpl.java 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2913      +/-   ##
============================================
- Coverage     87.14%   87.14%   -0.01%     
- Complexity     2695     2697       +2     
============================================
  Files           235      235              
  Lines          7197     7201       +4     
  Branches       1103     1104       +1     
============================================
+ Hits           6272     6275       +3     
  Misses          366      366              
- Partials        559      560       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -190,4 +206,7 @@
return hideTitle;
}

public boolean displayValidation() {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
Text.displayValidation
; it is advisable to add an Override annotation.
Copy link
Contributor

Choose a reason for hiding this comment

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

I would address this since it makes sense to me; other than that, don't see any issues

@LSantha LSantha requested a review from vladbailescu January 30, 2025 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants