Skip to content

FORMS-18634: Desktop, RWD Tablet, RWD Mobile - Form field with error not identified @sunnym @vavarshn #1585

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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

stefan-dragomir
Copy link

@stefan-dragomir stefan-dragomir commented May 5, 2025

Description

Related Issue

https://jira.corp.adobe.com/browse/FORMS-18634

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes and the overall coverage did not decrease.
  • All unit tests pass on CircleCi.
  • I ran all tests locally and they pass.

@vaibhav2601 vaibhav2601 requested a review from sakshi-arora1 May 6, 2025 08:46
@@ -1,3 +1,3 @@
<template data-sly-template.errorMessage="${@ componentId, bemBlock}">
<div class="${bemBlock}__errormessage" id="${componentId}__errormessage" aria-live="assertive"></div>
<div class="${bemBlock}__errormessage" id="${componentId}__errormessage" aria-live="assertive" tabindex=0 role="complementary"></div>
Copy link
Contributor

Choose a reason for hiding this comment

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

tabindex needs to be set dynamically, depending on error at runtime on field, if there is no error then it should be -1

Copy link
Author

Choose a reason for hiding this comment

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

Will revert this file to original and update the logic in FormFieldBase.js

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