Comments (5)
Hi @gilenzi, please provide a minimal repro that includes source code (e.g. using codepen or stackblitz).
from fluentui.
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:
- Open URL in the Edge browser.
2. Storybook M365 SCC Components page opens. - Navigate to left panel and activate 'Card Content' under components.
- Activate 'DualreportcardContent' tab > Default.
- Activate 'Open canvas in in tab'.
- The new page will be opened in the new tab.
- Now, navigate to the graph legends in browse mode and observe the issue.
from fluentui.
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](https://private-user-images.githubusercontent.com/48106640/337797599-99cfc3ad-2107-4802-8978-1bc63e11b2f7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwNTc3NzEsIm5iZiI6MTcxODA1NzQ3MSwicGF0aCI6Ii80ODEwNjY0MC8zMzc3OTc1OTktOTljZmMzYWQtMjEwNy00ODAyLTg5NzgtMWJjNjNlMTFiMmY3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDIyMTExMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVjYmMzZTg2ZThhYThhZjNjZWRhNWUxYjg3YWViODZiMjJjMGI4YTRmNTgwZGI1OWQ4MDNmNjU2ODU1NzY4MWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.kvHkg96TKvElF7iO0PEO-whUQLxtw9RVd8sfuaHU_6U)
from fluentui.
@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.
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)
- [Bug]: Cannot interact with buttons inside TableHeaderCell HOT 1
- [Bug]: queryMatch.addEventListener is not a function HOT 5
- [Bug]: Can't upgrade to package 9.53.0 HOT 3
- [Bug]: Dialog remains in DOM after close when using Jest HOT 3
- [Bug]: [FUI9][DOC] - All image of documentation site is broken HOT 1
- [Bug]: message bar icon in the Error message was changed from "X" to "!".
- [Bug]: Missing Fluent icon in tab for Storybook
- [Bug]: Storybook Accordion Sizes example is not consistent with other examples, locks all items open, has no size labels
- [Feature]: To make it easier to display the ellipsis when fluent-button's text overflows HOT 4
- [Bug]: codeowners on out of date PR's are not assigned after split-library-in-two migrations
- [Bug]: Dialog documentation could be clearer HOT 2
- [Bug]: TimePicker doesn't clear textbox when `value` prop is set to null
- [Bug]: Vertical divider min-width is always 86px
- [Bug]: Dialog fails to render if DialogSurface is in another component HOT 2
- [Bug]: Open overlay drawer fails with Vite app HOT 1
- [Feature]: New List - add support for Home/End HOT 1
- [Feature]: Tooltips should not render when Menus are open HOT 1
- [Bug]: GroupedVerticalBarChart throws error when data is empty (not null)
- [Bug]: Tree with virtualization focus on active tree item HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluentui.