-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Infra: Table lines instead of zebra stripes #2734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently I'm in the 4% who dislike zebra stripes. :-)
Personally, I prefer the striping for the in-body tables, as I find it both substantially more aesthetically pleasing, and significantly easier to read and follow—with just lines, I often lose sync of which row corresponds to which, particularly in wider tables. That being said, I can understand the concern about zebra-striping inadvertently giving some rows more undue emphasis. Maybe the shading could be less heavy to reduce this concern, while also introducing lines if needed to preserve baseline contrast for a11y? |
Actually, I think the original issue was my fault—#2691 changed What I would suggest is to meet in the middle with |
Yeah, good idea, please see PR #2740. |
For consideration, styling can be adjusted.
@gvanrossum said:
The results of three user studies recommends using "zebra stripes", but if not, then a lined table:
And:
Before
https://peps.python.org/pep-0011/#tier-1
After
https://pep-previews--2734.org.readthedocs.build/pep-0011/#tier-1