dotnet / winforms

Windows Forms is a .NET UI framework for building Windows desktop applications.
MIT License
4.38k stars 971 forks source link

Create AccessibleObject for PrintStatusDialog #11523

Closed LeafShi1 closed 3 months ago

LeafShi1 commented 3 months ago

Fixes #11456

Proposed changes

Regression?

Risk

Screenshots

Before

The screen reader does not announce any information about “Generating Previews”. image

After

AfterChanges

Test methodology

Test environment(s)

Microsoft Reviewers: Open in CodeFlow
LeafShi1 commented 3 months ago

Drafted because the the page counts changing info cannot be announced

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 0% with 17 lines in your changes missing coverage. Please review.

Project coverage is 74.45690%. Comparing base (c41b47a) to head (6243ed5). Report is 19 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #11523 +/- ## =================================================== + Coverage 74.39161% 74.45690% +0.06529% =================================================== Files 3032 3032 Lines 628091 628886 +795 Branches 46809 46850 +41 =================================================== + Hits 467247 468249 +1002 + Misses 157492 157286 -206 + Partials 3352 3351 -1 ``` | [Flag](https://app.codecov.io/gh/dotnet/winforms/pull/11523/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | Coverage Δ | | |---|---|---| | [Debug](https://app.codecov.io/gh/dotnet/winforms/pull/11523/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `74.45690% <0.00000%> (+0.06529%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/dotnet/winforms/pull/11523/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `17.98976% <0.00000%> (-0.00076%)` | :arrow_down: | | [production](https://app.codecov.io/gh/dotnet/winforms/pull/11523/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `47.30783% <0.00000%> (+0.08178%)` | :arrow_up: | | [test](https://app.codecov.io/gh/dotnet/winforms/pull/11523/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `96.96946% <ø> (+0.00274%)` | :arrow_up: | | [unit](https://app.codecov.io/gh/dotnet/winforms/pull/11523/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet) | `44.28839% <0.00000%> (+0.08062%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=dotnet#carryforward-flags-in-the-pull-request-comment) to find out more.