-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control spacing before separator #1493
Comments
Well, it's a separator character, not a string. I'm assuming this is mostly a cosmetic issue, in that it displays a little weird visually when you're using a comma? I guess I could special-case it and remove the space if the character happens to be a comma, but it feels odd. |
Hi Andrew. Yup. A client spotted the space and requested its removal. Ideally we would prefer to keep the comma as it creates a better experience for screen readers, so if you could tweak the rendering that that would be great. |
For improved a11y, we prefer to use a comma as a separator than the default | pipe character as screen readers will read vertical line, but they will ignore punctuation like a comma.
We change the default separator using the separatorChar config override; however, this leaves a space between the title and the comma. It would be great if the value of the separator honoured spacing, i.e:
', '
rather than it be programatically added.The text was updated successfully, but these errors were encountered: