Relume Community Icon
Relume Community
  • 🏠Home
  • πŸ“…Events

  • πŸ”΅Announcements
  • πŸ”΅General
  • πŸ”΅Getting Started
  • πŸ”΅Issues
  • πŸ”΅Showcase

Powered by Tightknit
Getting Started
Getting Started

Understanding <section> vs <div> for Better Accessibility

Avatar of DavorDavor
Β·

<section> vs <div>? πŸ€“ Hey all! A question for the Relume team - perhaps Dan when you get a minute? I fiddled with the MAST framework for the past week or so, and noticed it utilizes the <section> element for sections, which makes a lot of sense at first glance, first and foremost for increased accessibility. Is this something the Relume team considered in the past, or is considering for future releases? In your experience, are there any significant A11Y differences when using a <div> for sections instead of <section>?

2 comments

  • Avatar of Matt J.
    Matt J.
    Β·

    Davor as far as I can tell, all of our components follow semantic guidelines for <section> <main> and <header> tags where appropriate. If you've found one that does not have the right tag, feel free to flag it with us!

    πŸ™Œ1
  • Avatar of Davor
    Davor
    Β·

    That's perfect, thank you Matt J. πŸ™