Skip to content

[Improvement]: Improve accessibility and interaction consistency of blog cards #1637

@mrdeyroy

Description

@mrdeyroy

Description

The blog cards used across the homepage and blog-related sections currently have inconsistent interaction behavior and accessibility issues. While the cards visually appear interactive, the actual user experience differs between devices and interaction methods.

This creates usability problems for keyboard users, screen reader users, and mobile users.


Current Issues Observed

Interaction Inconsistencies

  • Only certain portions of the card are clickable instead of the full card area
  • Hover states are inconsistent between cards
  • Some cards show hover animations without clear click behavior
  • Tap feedback on mobile devices is weak or missing
  • Keyboard navigation does not consistently highlight focused cards

Accessibility Issues

  • Missing or unclear focus-visible states
  • Inconsistent semantic structure for interactive elements
  • Difficult keyboard navigation experience
  • Potential screen reader ambiguity due to partial clickable regions

Steps to Reproduce

  1. Open the homepage or blog section locally
  2. Navigate to the blog cards/featured article section
  3. Hover over different cards and compare interaction behavior
  4. Try clicking different areas inside the same card
  5. Use keyboard navigation (Tab key) to move across cards
  6. Test the same interaction on mobile responsive mode

Examples of Inconsistent Behavior

  • In some cards, only the title redirects while the card body does not
  • Certain cards animate on hover but do not behave as fully clickable elements
  • Focus outline visibility differs between components
  • Mobile interactions feel inconsistent compared to desktop hover interactions

Technologies/Frameworks Involved

Based on the repository structure, this issue likely involves:

  • React
  • TypeScript
  • Docusaurus
  • Tailwind CSS
  • Framer Motion (if animations are applied)

Potential component locations:

  • src/components
  • blog card components
  • featured article sections
  • homepage content sections

Expected Improvements

  • Make the complete card area clickable
  • Add proper keyboard accessibility support
  • Improve focus-visible states
  • Ensure consistent hover/tap interactions
  • Improve semantic accessibility structure
  • Maintain responsive behavior across screen sizes

Accessibility Standards Reference

The improvements can align with:

  • WCAG 2.1 Accessibility Guidelines
  • Keyboard Accessibility Best Practices
  • Focus Visible Guidelines
  • Semantic Interactive Element Standards

Relevant areas:

  • Focus visibility
  • Keyboard operability
  • Interactive target consistency
  • Screen reader usability

Benefits

  • Better accessibility compliance
  • Improved user experience
  • More intuitive interactions
  • Better mobile usability
  • Consistent UI behavior across components

I would like to work on this issue. Please assign it to me under GSSoC.

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions