Skip to content

[icons]: Icon mode="Image" announced as clickable and opens a dialog #13972

Description

@judith9209

Bug Description

Icon="Image" announced as clickable:
Image

Affected Component

Icon

Expected Behaviour

Same as for UI5 Icon; no clickable announcement
var oIcon = new sap.ui.core.Icon({
src: "sap-icon://syringe",
alt: "an alt text",
decorative: false
});

Isolated Example

In snippix search for 199893, saved under name Judith and #945006 to open the dialog.

Steps to Reproduce

  1. Set VPC mode of a screen reader on icon
  2. Voiceover and NVDA announce the icon as clickable
  3. Press enter when virtual cursor focus is on the icon -> the attached click handler is executed, a dialog is opening. Recording attached to ECT-275234 Voiceover.mov .
    ...

https://github.com/UI5/webcomponents/blob/main/packages/main/src/IconTemplate.tsx#L37 onClick={this._onclick} is attached always.

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

nightly

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Labels

Type

Projects

Status
In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions