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 moreWe 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.
Related posts
Dynamics 365 Contact Center: Quality evaluation – One-Time Evaluation Frequency
Quality evaluation plans now support a Once frequency type for both case evaluations and conversation evaluations. When creating an evaluation...
Microsoft Teams: Phishing Detection in Teams Messaging
Microsoft Teams is introducing AI-powered phishing detection that uses conversation context to identify phishing and social engineering in hig...
Microsoft Purview: Data Loss Prevention-Admin Units Support for Copilot & Cowork DLP
Microsoft Purview Data Loss Prevention is extending Administrative Units support to Microsoft 365 Copilot, Copilot Chat, and Cowork. This enab...
Take action: NTLMv1 hardening changes might affect network connections on devices without Credential Guard
Beginning with the October 2026 security update, Windows 11, versions 26H2, 25H2, and 24H2, along with Windows Server 2025 enforce restriction...
Power Platform – Recreate connections made to the Azure DevOps connector prior to September 2024
We identified that an app, flow, or agent in your environment utilizes a connection to the Azure DevOps connector that was created prior to Se...
Microsoft Purview | Data Loss Prevention: Count of labeled documents condition for Exchange Online
Microsoft Purview DLP introduces a new Exchange Online condition to detect emails with a high count of sensitivity-labeled attachments, enhanc...
Microsoft Teams: Automatic recording and transcription options align with admin policies
Microsoft Teams will update meeting options to show only automatic recording and transcription settings allowed by assigned policies, adding a...
Copilot Studio – Information regarding the end of support for selected AI models
We are announcing the end of support for selected AI models on the Standard and GitHub Copilot harnesses in Copilot Studio. Beginning on each ...
Updates available for Microsoft 365 Apps for all channels
We’ve released updates to the following update channels for Microsoft 365 Apps: Current Channel Monthly Enterprise Channel Semi-Annual E...
Microsoft Planner: AI-generated status reports in Planner Agent
Microsoft Planner now includes AI-generated status reports via Planner Agent in Microsoft 365 Copilot, summarizing plan progress, risks, and n...