[FluentCalendar]: Keyboard focus does not move to the selected date after opening the Date Picker

Open
#5,545 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
accessibility

Research direction

This is an accessibility bug in the FluentCalendar/FluentDatePicker Blazor component: when the date picker popup opens, keyboard focus should land on the currently selected date. Start by exploring the calendar/date-picker components under the FluentUI.Blazor source (search for the code that opens the picker popup and renders the calendar grid) and trace what element receives focus on open. Reproduce using the demo site steps in the report, then add focus logic for the selected (or default) date and verify with keyboard-only navigation in Edge. Done means focus lands on the selected date when the picker opens.

Written by the indexing model from the issue text.

Description

a11y A11yMAS A11ySev2 FluentUIBlazor_Web MAS2.4.3
Tags:

#A11yMAS; #MAS2.4.3; #TCS-BIC; #FluentUIBlazor_Web; #Win11; #DesktopWeb; #A11ySev2;CT_FluentUIBlazor_Web_Oct2026;

Test Environment:

Application Name: FluentCalendar
OS: Windows 11 [Version 25H2 (OS Build 26200.8457)]
Edge: Version 148.0.3967.70 (Official build) (64-bit)
Test URL: https://fluentui-blazor.net/Nav

Repro Steps:
  1. Launch the URL: https://fluentui-blazor.net/Nav
  2. Search for FluentCalendar
  3. Navigate to show date picker and hit ENTER key
  4. Verify the issue.
Actual Result:

After activating the Date Picker, the calendar opens, but keyboard focus does not move to the currently selected date. Focus remains on an unexpected element or location.

Expected Result:

When the Date Picker opens, keyboard focus should move to the currently selected date. If no date is selected, focus should move to an appropriate default date according to the component behavior.

User Impact:

Users with mobility impairments who rely on Voice Access may be unable to select a year Keyboard-only and screen reader users may have difficulty identifying the currently selected date and may need additional navigation to locate it. This can make date selection confusing and inefficient.

Attachment:

https://github.com/user-attachments/assets/7a03bbee-2cba-4ff5-b1be-63bb9ef0de17

Dominant language
C#
Stars
4.9k
Forks
497
Avg merge
1d 1h
Merged PRs (30d)
47

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/fluentui-blazor

All issues in microsoft/fluentui-blazor

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.