Skip to content

Prefer header and footer elements over div

Akbarkhon Variskhanov requested to merge KBar/www.xfce.org:use-semantics into master

From the HTML specification:

Authors are strongly encouraged to view the div element as an element of last resort, for when no other element is suitable. Use of more appropriate elements instead of the div element leads to better accessibility for readers and easier maintainability for authors.

Two semantic elements, header and footer, seem like a good fit.

Merge request reports

Loading