DataSaturdays icon indicating copy to clipboard operation
DataSaturdays copied to clipboard

Multiple Languages and Accessibility

Open SQLDBAWithABeard opened this issue 3 years ago • 6 comments

We are at the beginning; we have accomplished a lot in a brief time. This is amazing.

I think we should ensure that focusing on Inclusivity and Accessibility are at the forefront of our progress.

With this in mind I add this issue -

We should ensure that we support languages other than English and ensure that our assets are accessible for all

SQLDBAWithABeard avatar Dec 23 '20 12:12 SQLDBAWithABeard

Accessibility Links: Audio Link:https://gofile.io/d/UedWXD Image Link:https://gofile.io/d/jg5Pn7

github-actions[bot] avatar Dec 23 '20 12:12 github-actions[bot]

For the asset piece of the puzzle, I've found (yet another) no-config bot that might work well - AccessLint which checks for alt text and other areas that are key for accessibility in HTML.

Example of it working on one of my repos here.


Likewise, I was thinking of a PR to add the quick-and-dirty accessibility widget (adjusts contracts, fonts, CSS, etc.) that could take some of the initial burden off designing the site perfectly accessible from the start - but was unsure how the current pages are being generated and if adding the below to them (inline or as a script ref) would be a problematic integration point:

<script>
    (function(d){
         var s = d.createElement("script");
         /* uncomment the following line to override default position*/
         /* s.setAttribute("data-position", 3);*/
         /* uncomment the following line to override default size (values: small, large)*/
         /* s.setAttribute("data-size", "small");*/
         /* uncomment the following line to override default language (e.g., fr, de, es, he, nl, etc.)*/
         /* s.setAttribute("data-language", "language");*/
         /* uncomment the following line to override color set via widget (e.g., #053f67)*/
         /* s.setAttribute("data-color", "#053e67");*/
         /* uncomment the following line to override type set via widget (1=person, 2=chair, 3=eye, 4=text)*/
         /* s.setAttribute("data-type", "1");*/
         /* s.setAttribute("data-statement_text:", "Our Accessibility Statement");*/
         /* s.setAttribute("data-statement_url", "http://www.example.com/accessibility")";*/
         /* uncomment the following line to override support on mobile devices*/
         /* s.setAttribute("data-mobile", true);*/
         /* uncomment the following line to set custom trigger action for accessibility menu*/
         /* s.setAttribute("data-trigger", "triggerId")*/
         s.setAttribute("src", "https://cdn.userway.org/widget.js");
         (d.body || d.head).appendChild(s);
    })
    (document);
</script>

Again, example of it on my site here (bottom right).

lowlydba avatar Dec 23 '20 15:12 lowlydba

@SQLDBAWithABeard Is there any way to hide bot's comments with accessibility links in personal feed in case someone does not need these information (in my case the site is also blocked at work)?

MikeyBronowski avatar Jan 05 '21 08:01 MikeyBronowski

Accessibility Links: Audio Link:https://gofile.io/d/93RWhl Image Link:https://gofile.io/d/mTZHlE

github-actions[bot] avatar Jan 05 '21 08:01 github-actions[bot]

Hello, I can help with the Spanish translation for the site.

felipeschneider88 avatar Feb 03 '21 16:02 felipeschneider88

Accessibility Links: Audio Link:https://gofile.io/d/hUToIJ Image Link:https://gofile.io/d/fSTvx5

github-actions[bot] avatar Feb 03 '21 16:02 github-actions[bot]