CommunityToolkit / CommunityToolkit/Windows

Toolkit Settings Expander Fails Axe Scan

Aperta
#240 1 commento 2 reazioni 1 assegnatario Rivendicata da @niels9001 Vedi su GitHub
accessibility :accessibility: bug components::controls::settingscontrols
Lingua principale
C#
Stelle
1.1k
Fork
166
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Describe the bug

SettingsExpander is used in WinUI3 Gallery, and the element does not pass the accessibility insights scan.

I believe the fix is from Toolkit side to bind appropriate `AutomationProperties.Name` to its elements.

![image](https://github.com/CommunityToolkit/Windows/assets/7976322/e6b6f1f7-7a30-45df-911b-3b2b62c28d80)

### Steps to reproduce

```text
- Install WinUI 3 Gallery from Store
- Navigate to Design Guidance -> Icons
- Run Accessibility Insights for Windows Scan on the page
- Observe failed checks
```

### Expected behavior

Axe tests should be passing.

### Screenshots

_No response_

### Code Platform

- [ ] UWP
- [X] WinAppSDK / WinUI 3
- [ ] Web Assembly (WASM)
- [ ] Android
- [ ] iOS
- [ ] MacOS
- [ ] Linux / GTK

### Windows Build Number

- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [ ] Windows 10 21H2 (Build 19044)
- [ ] Windows 10 22H2 (Build 19045)
- [ ] Windows 11 21H2 (Build 22000)
- [ ] Other (specify)

### Other Windows Build number

_No response_

### App minimum and target SDK version

- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [ ] Windows 10, version 2004 (Build 19041)
- [ ] Windows 10, version 2104 (Build 20348)
- [ ] Windows 11, version 22H2 (Build 22000)
- [ ] Other (specify)

### Other SDK version

_No response_

### Visual Studio Version

_No response_

### Visual Studio Build Number

_No response_

### Device form factor

_No response_

### Additional context

_No response_

### Help us help you

Yes, but only if others can assist.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.