Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not being able to read tooltip's content in Narrator #10419

Closed
3phase opened this issue Nov 3, 2021 · 3 comments
Closed

Not being able to read tooltip's content in Narrator #10419

3phase opened this issue Nov 3, 2021 · 3 comments
Assignees

Comments

@3phase
Copy link
Contributor

3phase commented Nov 3, 2021

Description

Tooltip value is not readable by the narrator.

  • igniteui-angular version: 13.0
  • browser: Chrome 95
  • os: Windows 11 Beta something (Narrator is a system application and it might matter)

Steps to reproduce

  1. Create a new Angular application, install igniteui-angular package and import the Tooltip module.
  2. Create a new component, open its template file and paste the following code:
    <div style="width: 100px; height: 100px; border: 1px solid #ff0000;" tabindex="1"
        class="cursorHover" [igxTooltipTarget]="tp" [attr.aria-describedby]="'tooltip'">
    </div>

    <div id="tooltip" class="cellTooltip" #tp="tooltip" igxTooltip>
        Title
    </div>
  1. Run the application. Wait for the browser to open;
  2. Open narrator and enable it. Focus back to the browser and click the Tab key in order to focus the div with the red border. If the accessibility feature worked, it should have read "Title" aloud, although the tooltip is not visible.

Result

Narrator doesn't read the content of the tooltip.

Expected result

Narrator should read it.

Further notes

If you use the default title attribute, it is being read correctly.
Also, if you provide the tooltip origin with [attr.aria-label] attribute, it reads the value of the attribute (ref).

@github-actions
Copy link

github-actions bot commented Jan 3, 2022

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Jan 3, 2022
@3phase 3phase removed the status: inactive Used to stale issues and pull requests label Jan 4, 2022
@github-actions
Copy link

github-actions bot commented Mar 6, 2022

There has been no recent activity and this issue has been marked inactive.

@github-actions github-actions bot added the status: inactive Used to stale issues and pull requests label Mar 6, 2022
@3phase 3phase reopened this Mar 14, 2022
@3phase 3phase removed the status: inactive Used to stale issues and pull requests label Mar 14, 2022
@kdinev
Copy link
Member

kdinev commented May 10, 2022

@3phase It's up to the developer to provide the appropriate title or aria-label attributes on the tooltip target. The tooltip may or may not contain text-content, which means the dev needs to provide appropriate text. It's probably a good idea to add this to the documentation of the tooltip component.

@kdinev kdinev closed this as completed May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants