legacy-knowledge-base
公開されました Jul. 2, 2025

特定のポートレットには aria-autocomplete 属性があります

written-by

Alfonso Crisci

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

問題

  • DXP ページにデプロイされた特定のポートレット (ページ コメント、ブログなど) の DOM を検査しているときに、ユーザーは以下の aria 属性に気付く場合があります。

    aria-autocomplete="list" aria-expanded="false" aria-owns="yui_patched_v3_18_1_1_1616595356184_5727"
    要素が autocomplete タイプではない場合でも。

Environment

  • Liferay DXP 7.0+

解決策

  • 属性は意図されたものです。これは、7.0 で最初に追加された Autocomplete プラグインによるものです。 これに関する開発ブログの投稿は次のとおりです。 Liferay 7 の新機能: CKEditor のオートコンプリート リスト

  • このプラグインは、デフォルト設定でスクリーン名にオートコンプリート機能を提供する役割を果たします。 この機能は、 @ 文字で始まるスクリーン名を指定するまで非表示になります。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base