legacy-knowledge-base
公開されました Jun. 30, 2025

CKeditorでテーブルにrole属性を追加する。

written-by

Balázs Létai

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • コンテンツ & データ > ウェブコンテンツで、新しいウェブコンテンツを作成し、その中にテーブルを追加します。
  • テーブルのプロパティに、ロールを追加するオプションがない
  • 期待される結果: role="presentation "をテーブルに追加できるため、アクセシビリティツールを使用するゲストユーザーの体験が向上し、暗黙のネイティブロールセマンティクスがアクセシビリティAPIにマッピングされることはない。

Environment

  • Liferay DXP 7.0+

解決策

  • CKeditorのソースビューモードでロールを手動で追加する OR iこれを便利な機能として考える方は、 LPS-181286に投票をしてください。

    スクリーンショット.png

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base