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

Copilot: Adding in app browsing control policies

Enterprise policies now control Copilot desktop app’s built-in browser on Windows and Mac, covering security, privacy, content access, a...

2 days ago

Campaigns in SharePoint

SharePoint is introducing site campaigns, integrating Viva Amplify’s campaign management directly into SharePoint for unified creation, ...

2 days ago

Microsoft 365 Copilot: Customize how citations are included when copying responses

Microsoft 365 Copilot will add a customizable “Copy with sources” option by mid-December 2026, letting users choose whether to inc...

2 days ago

Microsoft Purview: Insider Risk Management-Introducing IRM Alert classification

Microsoft Purview Insider Risk Management will introduce alert classification as True positive, Benign, or False positive to improve risk repo...

2 days ago

Configure security key sign-in experience for display-based NFC readers

An improved security key sign-in experience is available on Windows 11 devices with display-based Near Field Communication (NFC) readers....

2 days ago

Out-of-band hotpatch update addresses stop error 0x139 on Windows Server 2025

Microsoft has released a new Windows out-of-band (OOB) update today, November 25, 2026, to address an issue affecting a limited number of Wind...

2 days ago

Dynamics 365 Finance: Enable Parameter-Based Configuration for Customer Prepayments

The Prepayment customer invoice feature can be enabled per legal entity/country region. Product Release phase General Availability Release dat...

2 days ago

Microsoft Power Platform governance and administration: Create and manage Filter-based Security filters in Power Platform Maker portal

Admins and makers can create and manage filters for Filter-based Security through a simplified management experience. Filters define which Dat...

2 days ago

Dynamics 365 Finance: Finance explorer skill

This provides the end-to-end traceability of document relationships across the order to cash. Product Release phase Preview Release date June ...

2 days ago

Dynamics 365 Human Resources: Simplify HR case management with employee self-service

Enable employees to conveniently create, manage, and track HR-related cases through the Employee Self-Service (ESS) experience in Dynamics 365...

2 days 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.