Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Validation errors not announced in forms TextItems and ListGrid Cell

    Hi SmartGWT Team,

    I am working on accessibility improvements and had a question regarding validation error/alert behavior in different UI scenarios.

    In a simple DynamicForm, when I use "setShowErrorText(true);", I am able to see the error message and also it is announced by the screen reader.

    However, I am seeing different behavior in below cases:

    1. Complex UI (main section + detail pane):
    When a single Save button validates the entire screen, and the error occurs in a TextItem inside a detail pane:
    • The error is shown visually
    • But it is not announced by the screen reader
    • Focus does not move to the invalid field
    Example:
    https://smartclient.com/smartgwt/sho...ep_match_value

    2. ListGrid cell validation:
    When a cell value is invalid, an error icon is shown beside the cell:
    • The icon is not keyboard accessible
    • Screen reader does not read/announce the error

    Example:
    https://smartclient.com/smartgwt/sho...ata_validation

    Question:

    Could you please guide if there is any recommended approach or best practice to ensure validation errors are properly announced and accessible in these scenarios using keyboard control and screen-reader mode?

    Thank you for your help!

    #2
    We can check on this, but two things:

    1. right now we are totally blocked on working on your complaints because you have not approved using booked hours for anything:

    https://forums.smartclient.com/forum...rs-in-smartgwt

    2. test standalone, not in the Showcase

    The Showcase is a great reference for code but if you test accessibility in the Showcase itself, that is invalid. The Showcase does all kinds of special things regarding focus, modality and lifecycle in order to be a host for 100s of mini-apps.

    As mentioned above, we are blocked from working on your issues right now due to your lack of response, but even in the quick looks we have taken, you are reporting problems that are actually specific to the Showcase, and don't happen outside of the Showcase.

    Comment

    Working...
    X