Post

#A11y question about #ScreenReader Is it best practice to insert punctuation when using aria-describedby/labelledby with multiple IDs, when the referenced content has no comma or full stop at the end? 2 approaches I’ve seen so far down below ⬇️ 🧵(1/2)

1 repost1 like

1) aria-describedby=“newPrice commaID oldPrice” where commaID is a span containing “, “ and additional white spaces with ::before and ::after 2) populating a separate span with all the content, add in punctuation, then reference only the ID of this new span. WDYT? 🤔 🧵(2/2)