Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

66%
+2 −0
Q&A Confusing reuse of styling between button and tab header

At the top of the page there are sections for the community's Categories, which are displayed as tabs that can be switched between. For example, here on Meta Codidact there are "Q&A", "Site Pro...

2 answers  ·  posted 2y ago by trichoplax‭  ·  last activity 1y ago by trichoplax‭

#3: Post edited by user avatar trichoplax‭ · 2023-01-07T12:20:18Z (almost 2 years ago)
Add mobile screenshot which shows the problem at its worst
  • At the top of the page there are sections for the community's Categories, which are displayed as tabs that can be switched between. For example, here on Meta Codidact there are "Q&A", "Site Proposals", and "Blog".
  • Similarly, on the next line down there are sections for things relevant to the currently selected Category. For example, here in Q&A there are "Posts", "Tags", and "Edits". However, instead of being displayed as tabs these show as buttons. This is inconsistent with the line above, and also somewhat confusing because there is also the "Ask Question" button on the same line. In the following image I have narrowed the window to emphasise the similarity between the "Posts" and "Ask Question" buttons:
  • ![The similarity between the Posts and Ask Question buttons](https://meta.codidact.com/uploads/my8zapj0yd7lzb1v7dxh5kym29r3)
  • The same styling is being used to mean two different things.
  • - "Posts" has styling which distinguishes it from "Tags" and "Edits", so it is clear that we are on the "Posts" tab
  • - "Ask Question" has that same styling even though we are not on the "Ask Question" page
  • Would it be clearer if "Posts", "Tags", and "Edits" were styled in the same way as the line above ("Q&A", "Site Proposals", and "Blog") so that "Ask Question" is clearly a button rather than a tab, and clearly available rather than already selected?
  • Alternatively, "Ask Question" could be seen as another tab, just like "Posts", "Tags", and "Edits". It could then be styled the same as "Tags" and "Edits" (the inactive tabs) rather than the same as "Posts" (the active tab). It could also possibly be moved left to be part of the "Posts", "Tags", and "Edits" family.
  • Do people see a potential improvement to be made here? If so, would you prefer to see one of the solutions suggested or something different?
  • At the top of the page there are sections for the community's Categories, which are displayed as tabs that can be switched between. For example, here on Meta Codidact there are "Q&A", "Site Proposals", and "Blog".
  • Similarly, on the next line down there are sections for things relevant to the currently selected Category. For example, here in Q&A there are "Posts", "Tags", and "Edits". However, instead of being displayed as tabs these show as buttons. This is inconsistent with the line above, and also somewhat confusing because there is also the "Ask Question" button on the same line. In the following image I have narrowed the window to emphasise the similarity between the "Posts" and "Ask Question" buttons:
  • ![The similarity between the Posts and Ask Question buttons](https://meta.codidact.com/uploads/my8zapj0yd7lzb1v7dxh5kym29r3)
  • The same styling is being used to mean two different things.
  • - "Posts" has styling which distinguishes it from "Tags" and "Edits", so it is clear that we are on the "Posts" tab
  • - "Ask Question" has that same styling even though we are not on the "Ask Question" page
  • The problem is most pronounced on a narrow mobile screen where there is not even a gap between the tab titles and the "Ask Question" button:
  • ![The Posts and Ask Question buttons on mobile with no gap](https://meta.codidact.com/uploads/netllmar623ldxvonpzbh00pa2pk)
  • Would it be clearer if "Posts", "Tags", and "Edits" were styled in the same way as the line above ("Q&A", "Site Proposals", and "Blog") so that "Ask Question" is clearly a button rather than a tab, and clearly available rather than already selected?
  • Alternatively, "Ask Question" could be seen as another tab, just like "Posts", "Tags", and "Edits". It could then be styled the same as "Tags" and "Edits" (the inactive tabs) rather than the same as "Posts" (the active tab). It could also possibly be moved left to be part of the "Posts", "Tags", and "Edits" family.
  • Do people see a potential improvement to be made here? If so, would you prefer to see one of the solutions suggested or something different?
#2: Post edited by user avatar trichoplax‭ · 2023-01-07T10:15:23Z (almost 2 years ago)
More specific title
  • Clearer active tab indication
  • Confusing reuse of styling between button and tab header
#1: Initial revision by user avatar trichoplax‭ · 2023-01-07T07:59:29Z (almost 2 years ago)
Clearer active tab indication
At the top of the page there are sections for the community's Categories, which are displayed as tabs that can be switched between. For example, here on Meta Codidact there are "Q&A", "Site Proposals", and "Blog".

Similarly, on the next line down there are sections for things relevant to the currently selected Category. For example, here in Q&A there are "Posts", "Tags", and "Edits". However, instead of being displayed as tabs these show as buttons. This is inconsistent with the line above, and also somewhat confusing because there is also the "Ask Question" button on the same line. In the following image I have narrowed the window to emphasise the similarity between the "Posts" and "Ask Question" buttons:

![The similarity between the Posts and Ask Question buttons](https://meta.codidact.com/uploads/my8zapj0yd7lzb1v7dxh5kym29r3)

The same styling is being used to mean two different things.
- "Posts" has styling which distinguishes it from "Tags" and "Edits", so it is clear that we are on the "Posts" tab
- "Ask Question" has that same styling even though we are not on the "Ask Question" page

Would it be clearer if "Posts", "Tags", and "Edits" were styled in the same way as the line above ("Q&A", "Site Proposals", and "Blog") so that "Ask Question" is clearly a button rather than a tab, and clearly available rather than already selected?

Alternatively, "Ask Question" could be seen as another tab, just like "Posts", "Tags", and "Edits". It could then be styled the same as "Tags" and "Edits" (the inactive tabs) rather than the same as "Posts" (the active tab). It could also possibly be moved left to be part of the "Posts", "Tags", and "Edits" family.

Do people see a potential improvement to be made here? If so, would you prefer to see one of the solutions suggested or something different?