Skip to content

NVDA only reads the first idref in aria-errormessage #19490

@dbjorge

Description

@dbjorge

Brief summary

In #16411, @SaschaCowley added support for reading the aria-errormessage property. That functionality was set up to assume that if an aria-errormessage attribute contains multiple idrefs, only the first one should be respected, since ARIA 1.2 defines aria-errormessage as being a single idref (not multiple idrefs).

However, ARIA 1.3 updates aria-errormessage to allow multiple idrefs. Chromium and Gecko both already implement support for this in their accessibility object models. It'd be nice to update the new paths introduced by #16411 to support reading multiple error messages.

Steps to reproduce

  1. Open Chrome or Firefox (repros in either)
  2. Visit https://codepen.io/dbjorge/pen/zxBdOpy
  3. Enter 11 into the text input and press "Test it"
  4. Observe which error message(s) NVDA reads

Actual behavior

NVDA only announces the first error message ("Wrong!"), not the second ("Your number is not greater than 12").

Expected behavior

NVDA announces both errors ("Wrong!" and "Your number is not greater than 12").

NVDA logs, crash dumps and other attachments

No response

NVDA type

installed copy

NVDA version

2025.3.2.53588

Have you tried any other versions of NVDA? If so, please report their behaviors.

No response

Windows version

Windows 11 Version 10.0.22631 Build 22631

Name and version of other software in use when reproducing the issue

Chrome Version 144.0.7559.97 (Official Build) (arm64)
Firefox 147.0.1 (aarch64)

Other information about your system

No response

Does the issue still occur after restarting your computer?

I have restarted my computer and the issue still occurs

If NVDA add-ons are disabled, is your problem still occurring?

I do not have any NVDA add-ons installed

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

I have not run the COM Registration Fixing Tool

Metadata

Metadata

Assignees

No one assigned

    Labels

    ARIAARIA/1.3featurep5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions