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
Microsoft 365: [Education] Microsoft Learning Zone – Improve Lesson Insights
See where your class is struggling and which students need support, with lesson-level results for every student. Aggregated responses show the...
Dynamics 365 Project Operations: Invoice usability enhancements
When billing teams review an invoice, they need to see where it stands, which transactions it includes, and what’s still waiting to be b...
Dynamics 365 Commerce: Unified Pricing Management – Require manager approval for price overrides and manual discounts that exceed margin limits
Retailers can protect their profitability without slowing down store operations. Sales associates can still adjust prices to close a sale. Any...
Dynamics 365 Finance: Faster cube data loading with optimized dataflows
The Matrix visual now provides clearer control over how zero and blank values are handled during planning. Users can explicitly save 0 as a pl...
Dynamics 365 Commerce: Unified Pricing Management – Attribute-based margin thresholds and tiers for approvals and reporting
Pricing managers can set margin controls that match how the business actually sells, instead of one threshold for everything. Each product, ch...
Microsoft SharePoint Online and OneDrive for the web: Updated search experience with Copilot Search
SharePoint Online and OneDrive on the web are updating to a unified Copilot Search experience with natural-language prompts, AI summaries, and...
Microsoft Teams: Automatically add tag members to channels with Workflows
Microsoft Teams will introduce a Workflows app template to automatically add users to channels when they are added to a team tag. This optiona...
Microsoft SharePoint: Data access governance report for group permissions
Microsoft SharePoint is introducing a Data access governance report in the admin center to help administrators identify sites accessible to sp...
Action required: Exchange Online Admin API MailboxFolderPermission response update
Microsoft will update the Exchange Online Admin API v2.0 MailboxFolderPermission endpoint to return the User property as a structured object w...
Microsoft Planner: Planner capabilities in Copilot Cowork through the Planner Plugin
The Planner Plugin integrates Microsoft Planner with Copilot Cowork, enabling task prioritization, completion assistance, plan creation, visua...