localgovdrupal / localgov_news

Provides news articles and news listing pages for LocalGov Drupal
GNU General Public License v2.0
0 stars 2 forks source link

Search block and facets block placement changes depending on which page you are on (UX) #126

Open msayoung opened 2 months ago

msayoung commented 2 months ago

When you are on a newsroom the default layout has the search and facets in the sidebar before the main content, whereas once you are on a news article OR have entered a search term or facet the search and facets are in the sidebar after the content.

https://demo.localgovdrupal.org/news https://demo.localgovdrupal.org/news/search?f%5B0%5D=category%3A7

What was the motivation for the different placements ?

The change in layout (particularly on the search pages) seems unexpected, and could be confusing.

https://www.w3.org/WAI/WCAG21/Understanding/consistent-navigation.html recommends that repeated content within a set of web pages occurs in the same relative order.

Ensuring that repeated components occur in the same order on each page of a site helps users become comfortable that they will able to predict where they can find things on each page. This helps users with cognitive limitations, users with low vision, users with intellectual disabilities, and also those who are blind.

markconroy commented 1 week ago

PR #130