JAWS does not announces any instant message upon adding fluent component
Environment: Windows OS version: 2004 (Build 21313.1000) Edge dev version: 90.0.818.0(Official build) dev (64-bit) Url: https://outlook-sdf.office.com/mail/inbox AT Used: JAWS JAWS Version:202.2011.16 ILM Pre-requisites: Open the URL: https://outlook-sdf.office.com/ and login with valid credentials. Repro Steps: Navigate to 'New Message' button and navigate to 'attach' button and activate it. Select any file or image from 'Browse my Computer' and activate 'Open' button and listen to JAWS announcement. Actual Result: JAWS does not announces any instant message upon adding any attachment.
Narrator Behaviour: Upon adding any attachement Narrator announces'attahcment added successffully' success message instantly.
Expected Result: JAWS should announce 'Attachement added successfully' success message instantly upon adding any attachment.
Thanks for reporting this, but we'll need an isolated repro (not a repro in a product) to investigate. You can start from https://aka.ms/fluentpen or click "Export to CodePen" on one of the component examples, then edit it to be more like your scenario.
Thanks for taking the time to enter an issue. However, it seems that there aren't enough details here for this issue to be actionable.
When issues are created, we need details such as:
- Which Fluent UI component is causing the issue
- Which package name and version the component is from
- Specific, complete steps to reproduce the issue
- What behaviors and attributes are missing or incorrect
- What you expected and what is actually happening
- Confirmation that the problem reproduces in isolation
Without a clear understanding of these details, it's not possible to take clear action on issues. We are unable to meet your expectations, properly address the root cause, and make changes without affecting the expectations of other consumers.
Please provide these additional details as you are able. The default issue template provides an outline of these details and is viewable when creating a new issue. Additionally, if this is an accessibility issue, please see Accessibility Troubleshooting in our wiki for more guidance. If these details cannot be provided, please kindly close the issue.
Thank you for your patience.
This issue has been automatically marked as stale because it has marked as requiring actionable feedback but has not had any activity for 2 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions to Fluent UI!
import { Announced as FabricAnnounced, IAnnouncedProps } from '@fluentui/react/lib/Announced'; <FabricAnnounced {...props} />;
Announced component doesn't work with JAWS
@junchen1 Next time can you please make a complete, live repro using https://aka.ms/fluentpen, https://aka.ms/fluentsandbox, or starting from one of the website examples? There's still not enough info to understand exactly how you're using the components.
For this time, I made a codepen including what I can understand so far. Can you modify this to reflect the rest of your scenario? https://codepen.io/ecraig12345/pen/OJpMwQd?editors=0010
I don't know how to change your code. Here is the example how we use the component
<DefaultButton onClick={()=>setAnnouncedComponentMessage('test')}>cick to announce</DefaultButton>
{announcedComponentMessage && (
<Announced message={`${announcedComponentMessage}`} />
)}
@ecraig12345 I modified your code as below. As you can see, the logic is that it should announce "test test test" when we click on it first time, and nothing 2nd time, and then "test test test" 3rd time and nothing, so on and so forth, right? Everything works as expected with Narrator, but the behavior is not consistent when I tried with Jaws. Can you experiment with Jaws as well?
const {
Announced,
DefaultButton
} = window.FluentUIReact;
const Content = () => {
// NOTE: This template uses @fluentui/react version 8.
// To use version 7, start from https://aka.ms/fabric7pen
const [isShown, setIsShown] = React.useState(false);
return (
<div>
<DefaultButton onClick={()=>setIsShown(!isShown)}>show content</DefaultButton>
{isShown && (
<Announced message='test test test'>
{/*add the content to announce here*/}
</Announced>
)}
</div>
);
};
ReactDOM.render(
<Content />,
document.getElementById("content")
);
@tomi-msft
Gentle ping that this issue needs attention.
Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes.
Still require assistance? Please, create a new issue with up-to date details.