SHD / MC Checker

MC1240703 | (Updated) Microsoft Teams: Code block line numbers and improved keyboard accessibility



MC1240703 | (Updated) Microsoft Teams: Code block line numbers and improved keyboard accessibility

Classification stayInformed
Last Updated 03/27/2026 21:10:04
Start Time 02/27/2026 22:09:53
End Time 06/30/2026 07:00:00
Message Content

Updated March 27, 2026: We have updated the timeline. Thank you for your patience. 

[Introduction]

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 early May 2026 (previously April) and expected to complete in mid-May 2026 (previously April).
  • General Availability (Worldwide): Rolling out in mid-May 2026 (previously April) and expected to complete in late 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 blocks in Teams.

Learn more:  Use code blocks in Microsoft Teams | Microsoft Support

[Compliance considerations]

No compliance considerations identified. Review as appropriate for your organization.

Machine Translation

2026年3月27日更新:タイムラインを更新しました。ご辛抱いただきありがとうございます。 

[はじめに]

Microsoft Teams Composeコードブロック体験改善を加えています。これらのアップデートにより、デフォルトの行番号の追加やキーボード操作の強化により、コードの読み込み、共有、参照がより効率的になりました。これらの変更は、チャットやチャンネルで頻繁にコードを共有するユーザーにも役立つ、アクセシビリティの向上にもつながります。

このメッセージはMicrosoft 365ロードマップID 554933に関連付けられています。

[いつ起こるか]

  • ターゲットリリース: 2026年5月初旬 (以前 は4月 )に展開し、 2026年5月中旬 (以前 は4月)に完了予定です。
  • 一般公開(世界):2026年5月中旬(以前 は4月)に展開し、2026年5月下旬に完了予定です。 

[これがあなたの組織に与える影響]

影響を受ける人物

Windows、Mac、Webの Microsoft Teams でメッセージを作成・共有するすべてのユーザーです。

何が起こるのか

ユーザーはコードブロック体験の改善を目にします。以下のようなものがあります:

  • コードブロックが挿入されると自動的に行番号が表示され、行ごとの協働やレビューが容易になります。
  • コードブロック内のキーボードナビゲーションが向上し、ユーザーがキーボードコマンドを使ってコードをよりスムーズに移動できるようになり、全体的なアクセシビリティが向上しました。
  • 構文強調のための一貫した言語選択;Teamsはユーザーが最後に選択した言語を記憶します。
  • 共同編集をサポートし、送信前にコードブロックをループコンポーネントに変換するオプションがあります。
  • 複数の挿入方法(スラッシュコマンド、キーボードショートカット、Markdown)も引き続きサポートされており、ユーザーの使いやすさと柔軟性を確保しています。
  • この機能はデフォルトで有効化されており、管理者管理や設定の変更は必要ありません。

これらのアップデートは Teams の開発およびエンジニアリングコラボレーション体験を向上させ、他の業界標準のコラボレーションツールとのより良い均衡を実現するのに役立ちます。

【準備のためにできること】

管理者の対応は不要です。 

オプションのステップ:

  • ヘルプデスクやサポートチームに、 ユーザーがTeamsでコードブロックの表示や動作に変化を感じる可能性があることを知らせてください。
  • Teams内でコード共有に依存するエンジニアリングチームや開発者コミュニティの内部ドキュメントを更新してください。
  • Teamsでのコードブロックの挿入、フォーマット、共同作業に関するユーザー向けの追加のガイダンスについては、Microsoft Supportのドキュメントを参照してください。

詳しくはこちら:  Microsoft Teamsでコードブロックを使う |マイクロソフトサポート

[コンプライアンスの考慮事項]

コンプライアンス上の考慮事項は特定されていません。あなたの組織に応じてレビューを行ってください。