E-mail List Archives
Re: Error alert and edit field focus
From: Jared Smith
Date: Jun 11, 2020 8:33AM
- Next message: Capra, Miranda: "Test Criteria for 1.4.4 Resize Text for native apps"
- Previous message: barry.hill3@sky.com: "Error alert and edit field focus"
- Next message in Thread: None
- Previous message in Thread: barry.hill3@sky.com: "Error alert and edit field focus"
- View all messages in this Thread
Yes, give the field aria-invalid="true" and aria-describedby that
references the descriptive error message, then set focus to the field
with JavaScript.
The potential difficulty with this approach is that if there are
multiple errors the user may not be aware of these unless they
subsequently navigate to them.
Jared
- Next message: Capra, Miranda: "Test Criteria for 1.4.4 Resize Text for native apps"
- Previous message: barry.hill3@sky.com: "Error alert and edit field focus"
- Next message in Thread: None
- Previous message in Thread: barry.hill3@sky.com: "Error alert and edit field focus"
- View all messages in this Thread