Fix Narrator announcing 'SL NO' instead of serial number on What's New page#784
Open
mmanolova-msft wants to merge 1 commit into
Open
Fix Narrator announcing 'SL NO' instead of serial number on What's New page#784mmanolova-msft wants to merge 1 commit into
mmanolova-msft wants to merge 1 commit into
Conversation
…w page The 'Sl. No.' column header in the Grid Shorthand Syntax sample on the What's New page was read literally by Narrator (as 'SL NO') instead of as a serial number. Add AutomationProperties.Name="Serial Number" to the header cell so screen readers announce a meaningful name. Addresses MAS 4.1.2 (Name, Role, Value). Fixes AB#3019248. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
d037c76 to
6f5f1a5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the Narrator accessibility bug on the What's New page (AB#3019248).
Problem
The
Sl. No.column header in the Grid Shorthand Syntax sample table was announced literally by Narrator as ""SL NO"" instead of conveying a serial-number column. This violates MAS 4.1.2 (Name, Role, Value).Fix
Added
AutomationProperties.Name=""Serial Number""to the header cell so screen readers announce a meaningful name, while the visible text remainsSl. No.. The displayed sample XAML string in the view model was updated to match.Validation
dotnet build WPFGallery.csprojsucceeds (0 errors).Microsoft Reviewers: Open in CodeFlow