-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: improve card semantics (resolves #190) #209
Conversation
Deploy preview for pinecone ready! Built with commit d958e44 |
the page format looks great! the location looks like its hanging a bit lower than the other ones in the individual card component? |
Good catch @cherylhjli! Fixed now. |
@cherylhjli This is done! I just need the icon for the byline. |
I think the "+2 more" should be part of the Topics list. Right now "+2 more" appears out of context. For example, NVDA would say:
It may make more sense if the feedback says:
|
@jhung I think I've addressed all the review comments (including adding screen reader-accessible labels to the other cards). |
One last thing, the mid-dot does not cause the screen reader to pause. This makes "resource format article (mid-dot) publisher" come out as a single uninterrupted string of words which is confusing. I tried to experiment with this by adding Could a regular period be used instead of a mid-dot and offset from the baseline to visually appear like a mid-dot? (Personally, even an unstyled period looks fine, but maybe @cherylhjli has thoughts?) A hacky way to do this would be to add a non-visual span and put a period. |
Could we move the baseline of the period up, so the period resembles a mid-dot? |
@cherylhjli @jhung I just tested with VoiceOver/Safari and realized that VoiceOVer reads 'middle dot' without pausing… so definitely an alternate approach is needed. I'm going to try the period trick. |
Yes, I can do that with CSS (set |
See latest changes from 2120c96. |
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.
Thanks for fixing the separator. It's much better now.
Description
Applies changes from #190 to all cards.
TODO: Add icon to byline.
Steps to test
Review all card and archive components: https://deploy-preview-209--pinecone.netlify.com
Additional information
Not applicable.
Related issues