Skip to content
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

Unclear support for color contrast and CSS with symbols #42

Closed
xi opened this issue Feb 16, 2018 · 2 comments
Closed

Unclear support for color contrast and CSS with symbols #42

xi opened this issue Feb 16, 2018 · 2 comments
Assignees

Comments

@xi
Copy link

xi commented Feb 16, 2018

The section on aui-symbol mentions the following example:

<img aui-symbol="http://wordnet-rdf.princeton.edu/wn31/girl-n" href="mygirlsy.bmp" >

I imagine that a conforming user agent would render the appropriate symbol instead of the referenced image. But how can color contrast be guaranteed in this case?

We should also take into account that many pages today use icon fonts or inline SVG for symbols:

<i aui-symbol="http://wordnet-rdf.princeton.edu/wn31/girl-n" class="fa fa-female"></i>

The benefit of this is that it is possible to style these with CSS, again allowing authors to control color contrast. How would aui-symbol work in these cases?

@johnfoliot
Copy link
Contributor

johnfoliot commented Jan 4, 2021

Thank you for your enquiry.

As envisioned, data-symbol (formerly aui-symbol) is an attribute that is using a common taxonomy entry to reference the appropriate symbol from one of many different commercial and open-source symbol sets. It is important to understand that the goal is to not just replace text with a symbol, but rather an "approved", pre-defined symbol taken from one of these sets. The symbols are the language, and different users learn different symbol sets to use to communicate. In fact, the taxonomical reference numbers we are using are taken from the Open Source Bliss symbol set (https://www.blissymbolics.org), although it is anticipated that other symbol sets will map back to that list.

Many of the symbol sets are monochromatic (black on white), whereas others may feature color. It is important to understand however that for users dependent on symbols, and choosing a specific set, they issue of color contrast will have already been addressed and resolved for those users - if a color blind user cannot function with "symbol set A" it will impact them on all content using those symbols, beyond just web-pages. As such, that user may have already chosen to use a different "Set B" (as it were). It is expected (and in fact advised against) that content author will not be furnishing custom symbols to the user - provide the reference number, and let the user and user-settings handle which set the user has chosen.

To the final question: because these symbols are already quite controlled in both color and physical appearance, there is no expectation that they can be further styled by the content author.

@johnfoliot
Copy link
Contributor

Closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants