Currently NVDA provides a role of 'shape' to any item on a Powerpoint slide that cannot be mapped directly to one of the other standard NVDA roles (E.g. table, textFrame, chart, embeddedObject etc).
However, there are over 180 shapes (including rectangles, triangles, arrows, clouds etc) that can be placed on a Powerpoint slide. Most if not all are usually used to convey particular meaning, not just for artistic reasons.
Therefore, NVDA should speak / braille these shape types, rather than just 'shape'.
To do this, we should introduce the idea of a roleText property, which can be a way for an NVDAObject to provide custom text for the role, where the role is too particular for any NVDA standard role. ARIA roleDescription can eventually use this concept as well.
A part from these particular shapes, specific NVDA roles should be added for audio and video, as these are PowerPoint shapes that are pretty well understood concepts and would most likely be made use of outside of Powerpoint.
The text was updated successfully, but these errors were encountered:
…en editing a slide (Examples include: triangle, circle, video, arrow), rather than just 'shape'. (#7111)
* Add audio and video roles to NVDA.
* Add a 'roleText' property to NVDAObjects. If its value is a string, this string is used in place of the label looked up from the 'role' property, in both speech and braille, allowing an NVDAObject to override the presented role.
* Powerpoint: ensure that all shape types are presented to the user in speech and braille.
This Includes mapping media shapes to audio and video roles, and for all other shapes, exposing localizable label as role text, keeping the actual role still as shape.
For action button shapes, the action is now exposed via the name property.
We also no longer expose the programmatic name of the shape, as this was usually wrong and was only done in the past as a hope of giving some guess as to the shape type.
* Remove accidental symbols in comments.
Currently NVDA provides a role of 'shape' to any item on a Powerpoint slide that cannot be mapped directly to one of the other standard NVDA roles (E.g. table, textFrame, chart, embeddedObject etc).
However, there are over 180 shapes (including rectangles, triangles, arrows, clouds etc) that can be placed on a Powerpoint slide. Most if not all are usually used to convey particular meaning, not just for artistic reasons.
Therefore, NVDA should speak / braille these shape types, rather than just 'shape'.
To do this, we should introduce the idea of a roleText property, which can be a way for an NVDAObject to provide custom text for the role, where the role is too particular for any NVDA standard role. ARIA roleDescription can eventually use this concept as well.
A part from these particular shapes, specific NVDA roles should be added for audio and video, as these are PowerPoint shapes that are pretty well understood concepts and would most likely be made use of outside of Powerpoint.
The text was updated successfully, but these errors were encountered: