DS data page: No error messages for empty fields and deletion when adding DS data record 3 and beyond #2774
Labels
accessibility
pertains to Section 508 compliance or other accessibility needs
blocked
Is dependent on another issue and cannot be worked
bug
Something that isn't working as intended
compliance
indicates that the issue is required to satisfy a necessary compliance req
dev
issue is for the dev team
refinement
Milestone
Current Behavior
When a user attempts to add a 3rd DS data record (or any subsequent record after 3) but does not fill out the required fields for DS data record 3 and then clicks "Save," the form automatically deletes DS data record 3 without displaying any error messages.
This behavior violates Section 508 Trusted Tester IDs 3.3.1-error-identification (WCAG 3.3.1) and 3.3.4-error-prevention (WCAG 3.3.4).
DS.data.record.-.error.identification.issue.mov
Expected Behavior
When a user creates a new record and they did not fill out the required fields. The user presses save and they are thrown errors prompting the user to fill out the required fields.
![getgov-staging app cloud gov_domain_9950_dns_dnssec_dsdata (1)](https://private-user-images.githubusercontent.com/48488699/368598519-80c17ae6-dfef-4c9a-a792-5099a9684040.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxODc3ODUsIm5iZiI6MTczOTE4NzQ4NSwicGF0aCI6Ii80ODQ4ODY5OS8zNjg1OTg1MTktODBjMTdhZTYtZGZlZi00YzlhLWE3OTItNTA5OWE5Njg0MDQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDExMzgwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY0MDcyNWQyNTQxOWQ5N2UzM2Q2NTE1MWNiMDBhMzY3ODM0Yjk0NTgxOTM1NTQ3MmExMjQyMzZjYTMzNjk5MWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Uj0H-cbrM2HTtQImiNSC4LdiGKc5kEp7G2Q7GZTE6-o)
Steps to Reproduce
Environment
Environment: Staging
Browser: Chrome
Additional Context
No response
Issue Links
Prioritization Comments
WCAG Conformance Level: 2.1 AA
WCAG Standard that applies:
3.3.1 - Error Identification (Critical)
3.3.4 - Error Prevention (Critical, partially supports)
Critical Failure if Not Met?:
Prioritization: High/Must Do
Reason: This issue impacts both user experience and accessibility by failing to inform users of required field errors before automatically deleting their input. This can lead to user confusion and frustration, as well as a loss of entered data without warning, which is especially problematic for users with disabilities who rely on error prompts for navigation and form completion.
The text was updated successfully, but these errors were encountered: