2 Replies
Is the line through "
Or
" a border on the .line
element?Give the ::before a background color and give it a higher z-index than the dash. See if that works
Though this raises a question: "Can screen readers read a psuedo element's contents?"
https://accessibleweb.com/question-answer/how-is-css-pseudo-content-treated-by-screen-readers/
So instead of making this a psuedo element I'd make your "Or" inside a span or something similar so that screen readers are able to read it