Loading...

Microsoft Teams: Code block line numbers and improved keyboard accessibility

Microsoft Teams: Code block line numbers and improved keyboard accessibility

Microsoft Teams will enhance code blocks by adding default line numbers, improved keyboard navigation, consistent language selection, and collaborative editing via Loop components. These updates, rolling out April–May 2026, improve accessibility and developer collaboration without requiring admin action. We’re introducing improvements to the code block experience in Microsoft Teams Compose. These updates make reading, sharing, and referencing code more efficient by adding default line numbers and enhancing keyboard navigation. These changes also support better accessibility and help users who frequently share code in chats or channels. This message is associated with Microsoft 365 Roadmap ID 554933. When this will happen Targeted Release: Rolling out in April 2026 and expected to complete in April 2026. General Availability (Worldwide): Rolling out in April 2026 and expected to complete in May 2026. How this affects your organization Who is affected All users who compose and share messages in Microsoft Teams on Windows, Mac, and Web. What will happen Users will see enhancements to the code block experience, including: Default line numbers appearing automatically when a code block is inserted, supporting easier line-by-line collaboration and review. Improved keyboard navigation within code blocks, allowing users to move more easily through code using keyboard commands, improving overall accessibility. Consistent language selection for syntax highlighting; Teams will remember the last language a user selected. Support for collaborative editing, with the option to convert a code block to a Loop component before sending. Multiple insertion methods remain supported (slash commands, keyboard shortcuts, and Markdown), ensuring familiarity and flexibility for users. This feature is enabled by default, and no admin controls or configuration changes are required. These updates improve the development and engineering collaboration experience in Teams and help achieve better parity with other industry-standard collaboration tools. What you can do to prepare No admin action is required.  Optional steps: Inform helpdesk or support teams that users may notice changes to how code blocks appear and behave in Teams. Update any internal documentation for engineering teams or developer communities that rely on code sharing within Teams. Review Microsoft Support documentation for additional user-facing guidance about inserting, formatting, and collaborating on code […]

The post Microsoft Teams: Code block line numbers and improved keyboard accessibility appeared first on M365 Admin.

Published on:

Learn more
Need help with this product?

We can help you with Microsoft Teams: Code block line numbers and improved keyboard accessibility

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

M365 Admin
M365 Admin

by João Ferreira

Share post:

Related posts

Filter Messages by Events

Outlook will add an “Events” filter to help users quickly find calendar invitations and event-related messages. Rolling out global...

8 hours ago

OneDrive macOS Native Sync Engine

OneDrive for macOS will adopt a new Native Sync Engine by late November 2026, enhancing sync speed, reliability, and resource efficiency. Sync...

8 hours ago

Improved OneDrive experience in Apple Files app

OneDrive’s integration with the Apple Files app on iOS will improve upload status visibility. Read-only shared OneDrive and SharePoint l...

8 hours ago

Microsoft Edge: Security Update Alerts in the Edge management service

Administrators can set severity thresholds to receive alerts for Microsoft Edge updates with significant security fixes, including zero-day pa...

8 hours ago

SharePoint Page and News Post: Content Update flow in the FAQ web part will be retired

The SharePoint FAQ web part’s Content Update flow, which provided AI-generated answer suggestions, will be retired worldwide by late Sep...

8 hours ago

AI overview for SharePoint News posts in the SharePoint app for Teams

Users with eligible Microsoft 365 Copilot licenses can access AI-generated audio summaries of SharePoint News posts in the SharePoint app for ...

8 hours ago

Microsoft Outlook: Classic Outlook theme experience for Outlook on the web and Outlook for Windows

Microsoft is introducing an optional setting in Outlook on the web and new Outlook for Windows to mimic classic Outlook’s look and feel. It he...

8 hours ago

Microsoft Entra ID: Retirement of custom CSS layout and positioning properties in company branding

Microsoft Entra ID will retire custom CSS layout and positioning properties in company branding by late October 2026 to enhance security and r...

8 hours ago

Simplified Copilot experience in Microsoft Teams

Microsoft Teams’ Copilot experience will be simplified with a chat-centered design, improved navigation, updated chat layout, Work IQ co...

8 hours ago

Simplified Copilot experience in Microsoft Outlook

Microsoft Outlook’s Copilot experience will be refreshed by September 2026 with a simplified, chat-centered design in both full-page and...

8 hours ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.