skip to Main Content

Html – Is creating button group with `<figure>` correct and comply with WCAG?

I am creating a button group with label like this: The HTML code I am now writing: <figure class="toggler-widget"> <figcaption class="toggler-label">Sort By:</figcaption> <ul class="button-togglers"> <li class="choice-selected"> <button type="button" title="Sort by title" aria-label="Sort by title" aria-pressed="true"></button> </li> <li> <button type="button" title="Sort…

VIEW QUESTION
Back To Top
Search