You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NVDA will not read the label or description for the figure element. This appears to be due to the child <p> having aria-hidden="true". When the aria-hidden attribute is removed NVDA will read the figure's label and description as expected.
Also, changing the <figure> to a <div> with a role="figure" reads as expected, so the following will read the label and description while properly ignoring the child <p>:
The <figure> label and description attributes are not read when there is a child element that has aria-hidden="true"
Expected behavior:
NVDA should read the label and description attributes and ignore the hidden child elements using the <figure> element.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
NVDA version:
2022.4.0.27401
Windows version:
Version 10.0.19044 Build 19044
Name and version of other software in use when reproducing the issue:
Tested in Firefox and Chrome
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No
If NVDA add-ons are disabled, is your problem still occurring?
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
The text was updated successfully, but these errors were encountered:
seanbudd
added
ARIA
p3
https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
triaged
Has been triaged, issue is waiting for implementation.
labels
Jan 10, 2023
…e children (#16471)
Fixes#14514
Summary of the issue:
HTML figure elements with no accessible children (EG, all children set to aria-hidden=true) but with an aria-label or aria-description are not reported by NVDA.
Description of user facing changes
Elements with no accessible children but which have a label or description are now reported in browse mode. Note this only applies to elements which are still rendered; if all children are set to display: none, for example, NVDA still does not report the parent element.
Description of development approach
Render a single space in elements with no content but a label or description se
…e children (nvaccess#16471)
Fixesnvaccess#14514
Summary of the issue:
HTML figure elements with no accessible children (EG, all children set to aria-hidden=true) but with an aria-label or aria-description are not reported by NVDA.
Description of user facing changes
Elements with no accessible children but which have a label or description are now reported in browse mode. Note this only applies to elements which are still rendered; if all children are set to display: none, for example, NVDA still does not report the parent element.
Description of development approach
Render a single space in elements with no content but a label or description se
Steps to reproduce:
Given the following html:
NVDA will not read the label or description for the figure element. This appears to be due to the child
<p>
having aria-hidden="true". When the aria-hidden attribute is removed NVDA will read the figure's label and description as expected.Also, changing the
<figure>
to a<div>
with a role="figure" reads as expected, so the following will read the label and description while properly ignoring the child<p>
:Actual behavior:
The
<figure>
label and description attributes are not read when there is a child element that has aria-hidden="true"Expected behavior:
NVDA should read the label and description attributes and ignore the hidden child elements using the
<figure>
element.NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
NVDA version:
2022.4.0.27401
Windows version:
Version 10.0.19044 Build 19044
Name and version of other software in use when reproducing the issue:
Tested in Firefox and Chrome
Other information about your system:
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
No
If NVDA add-ons are disabled, is your problem still occurring?
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
The text was updated successfully, but these errors were encountered: