GithubHelp home page GithubHelp logo

Comments (5)

behowell avatar behowell commented on July 24, 2024

Hi @gilenzi, please provide a minimal repro that includes source code (e.g. using codepen or stackblitz).

from fluentui.

gilenzi avatar gilenzi commented on July 24, 2024

Hi @behowell, I added image, because that is screen reader issue related to "Legends" component. So I don't know which code to include. Here are repro steps:

  1. Open URL in the Edge browser.
    2.  Storybook M365 SCC Components page opens.
  2. Navigate to left panel and activate 'Card Content' under components.
  3. Activate 'DualreportcardContent' tab > Default.
  4. Activate 'Open canvas in in tab'.
  5. The new page will be opened in the new tab.
  6. Now, navigate to the graph legends in browse mode and observe the issue.

from fluentui.

behowell avatar behowell commented on July 24, 2024

I'm not an expert on charting, so I've assigned this to the charting team to take a further look.

However, as far as I can tell, it is setting aria-selected="true" correctly when a single legend item is selected. And Narrator does read "selected" for those items.

I noticed that when there is no selection, all legend items appear selected, but they all have aria-selected="false". Is that the case you're referring to?

image

from fluentui.

AtishayMsft avatar AtishayMsft commented on July 24, 2024

@gilenzi Could you share a video of the issue.
I am seeing that selected and not selected state is announcing on selection/deselection of legends.
And the not selected legend states are announced on keyboard navigation.

from fluentui.

smhigley avatar smhigley commented on July 24, 2024

I can't say for sure without more info on the screen reader used and the browser (guessing NVDA because of "browse mode"?), but this is almost certainly the specific NVDA/JAWS behavior of not announcing "selected" when you navigate to selected listbox options. This stems from historical Windows desktop choices around selected state following focus, and is not a bug.

You should hear the selected state when you toggle selection, and you should hear "not selected" announced when you move onto options that are not selected (assuming this is NVDA; this behavior varies by screen reader, since it is a screen reader UX choice).

from fluentui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.