feat(mat-calendar): Automatically reposition "close calendar" button if it is offscreen
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### Feature Description
When using keyboard navigation, the "close calendar" button is placed at the bottom of the calendar after tabbing through the other interactive elements in the component. If this button would be positioned offscreen, it should be repositioned into view to improve accessibility.
### Use Case
A user may increase the browser size to 200%, or the calendar may just be positioned toward the bottom of the screen, which may cause this close button to render offscreen when displayed.
Beitragsleitfaden
Rechercherichtung
Beginne mit der Angular Material calendar component und ihrem keyboard-navigation-Verhalten. Konzentriere dich darauf, wie der close calendar button platziert wird, nachdem du durch interaktive Elemente getabbt hast. Reproduziere den Fall bei 200 % Browser-Zoom oder wenn sich der calendar nahe am unteren Bildschirmrand befindet, und überprüfe anschließend, dass der fokussierte close button so neu positioniert wird, dass er sichtbar ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- accessibility, frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100