legacy-knowledge-base
公開されました Sep. 5, 2025

Does the use of tags cause an accessibility issue?

written-by

default-service-account default-service-account

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

Issue

  • We have verified that Liferay uses the <small> tag in the Type and Category facet search filters and we think that it could lead to an accessibility issue, violating the WCAG 1.3.1 Information & Relationships success criteria.

Environment

  • Quarterly Release 2024.q2

Resolution

  • The reported accessibility concern regarding the use of the <small> tag within the search filter facets has been reviewed and is not considered an accessibility issue.
  • The <small> tag, while presentational and not semantic, is a valid HTML5 tag and its use does not negatively impact accessibility.
  • WCAG recommends using CSS for styling and semantic HTML elements. Liferay's implementation adheres to this best practice by using CSS from Clay for styling and not relying on the <small> tag to convey semantic meaning.
  • The <small> tag in this context does not violate WCAG 1.3.1 Information & Relationships success criteria, and testing with screen readers, semantic analysis tools (like AXE, WAVE, and Lighthouse) confirms no negative impact on accessibility.

Additional Information

 

did-this-article-resolve-your-issue

legacy-knowledge-base