16位調色板和32位調色板_使調色板可訪問

16位調色板和32位調色板

Accessibility has always been a tough sell. Admittedly, less so than in the ‘nineties, when no prospective client was interested. But even today — more enlightened times — the majority of companies I encounter still prefer to make a lot of noise about accessibility without actually making a serious effort to address it (that is not an exaggeration, and I am talking about household names).

一個 ccessibility一直是一個艱難的銷售。 誠然,這不像90年代那樣,當時沒有潛在的客戶感興趣。 但是,即使在今天(更開明的時代),我遇到的大多數公司仍然希望對可訪問性大加喧noise,而實際上并沒有認真地努力解決它(這不是夸張,我所說的是家喻戶曉的名字)。

Creating a colour palette from scratch is not something designers — even freelancers — get to do very often. Sure, there are greenfield projects out there, but they are slightly less commonplace than talking horses. The overwhelmingly likely scenario is that you will inherit a palette created by someone else (and not necessarily by a designer — it could be the fruits of the marketing department).

從頭開始創建調色板并不是設計師(甚至是自由職業者)經常要做的事情。 當然,那里有一些綠地項目,但是比會說話的馬少一些。 絕大多數情況是您將繼承其他人(不一定是設計師創建的調色板),這可能是市場部的成果。

Failures in the colour palette — how the colours are applied in the UI — are among the most prevalent of accessibility issues. So what happens when you know the palette you are working with has multiple points of failure? You cannot simply carry on regardless, churning out designs that you know fail accessibility requirements. To make matters worse, style guides can — and often do — call for foreground/background colour combinations that do not meet the minimum standard for contrast (particularly true when dealing with colours with opacity).

調色板故障(如何在UI中應用顏色)是最常見的可訪問性問題之一。 那么,當您知道所使用的調色板有多個故障點時會發生什么? 您不能簡單地繼續進行,要制造出您知道失敗可訪問性要求的設計。 更糟糕的是,樣式指南可能會(而且經常會)要求使用不符合最低對比度標準的前景色/背景色組合(在處理不透明的顏色時尤其如此)。

Checking a colour palette against accessibility standards and identifying failures is one thing. But selling a revised palette to your stakeholders is quite another. Getting a multinational to change anything is a tough ask at the best of times. But getting them to change their corporate colour palette is marginally less challenging than skiing a mogul field with an egg balanced on a spoon. Marketing departments will usually opt to change their designer over changing their palette.

根據可訪問性標準檢查調色板并識別故障是一回事。 但是,向您的涉眾出售經修訂的調色板是另一回事。 在最佳時機,讓跨國公司改變一切都是一個艱難的要求。 但是,讓他們改變公司的調色板所面臨的挑戰要比在勺子上平衡著雞蛋的大亨滑雪場要困難得多。 市場部門通常會選擇更換設計師,而不是更改其調色板。

It can be achieved, however. And, like so many things, it is all down to presentation. The best way of illustrating this is to take you through a real-life case study.

但是可以實現。 而且,就像很多事情一樣,這完全取決于演示。 說明這一點的最好方法是引導您完成現實生活中的案例研究。

更改公司的調色板 (Changing a Corporate Palette)

A few years back, I was approached by the global head of digital inclusion for a major international corporation in the IT sector. Discretion being the better part of valour, I shall not name the company. But suffice to say, the company has a presence in over 70 countries and more than 100,000 employees.

幾年前,我與一家IT領域的大型國際公司的數字包容性全球負責人聯系。 自由裁量權是最重要的部分,我不愿透露公司名稱。 但足以說,該公司在70多個國家/地區擁有業務,并擁有100,000多名員工。

The head of digital inclusion knew the corporate palette failed accessibility (although had not quantified it). But despite calling for a change over some years, his pleas had fallen on deaf ears.

數字包容性負責人知道公司調色板無法訪問(盡管尚未量化)。 但是盡管多年來要求改變,但他的懇求卻置若de聞。

My brief was to quantify the points of failure in the palette (against WCAG Level AA) and propose the minimum changes necessary to bring the palette into compliance. I therefore concentrated on low-vision and colour-blind end users.

我的簡介是量化面板中的故障點(相對于WCAG AA級),并提出使面板達到合規性所需的最小更改。 因此,我專注于低視力和色盲的最終用戶。

WCAG 2.0 level AA requires a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. WCAG 2.1 requires a contrast ratio of at least 3:1 for graphics and user interface components (such as icons, form input field borders, etc.).

WCAG 2.0級AA要求普通文本的對比度至少為4.5:1,大文本的對比度至少為3:1。 WCAG 2.1要求圖形和用戶界面組件(例如圖標,表單輸入字段邊框等)的對比度至少為3:1。

現有調色板 (The Existing Palette)

The existing palette consisted of seven colours and five greys, as shown in the figure below. Whatever you may think of the colour selections (and that is probably not a lot) this is what Marketing had long-since signed off and were reluctant to change (to say the least).

現有的調色板由七種顏色和五種灰色組成,如下圖所示。 無論您想到什么顏色選擇(可能不多),這都是Marketing長期以來就簽署并不愿更改(至少可以說)的東西。

The existing palette for accessibility testing.

The company had many hundreds of websites, portals and applications worldwide. And, in the absence of formal guidelines, the palette was applied inconsistently and, very often, in a way that breached accessibility guidelines.

該公司在全球擁有數百個網站,門戶網站和應用程序。 而且,在沒有正式指南的情況下,調色板的使用不一致,并且經常以違反可訪問性指南的方式使用。

My first task was to map the entire palette as a matrix of all possible foreground text and background colour combinations — a bit like a mileage chart. I then analysed all the combinations against WCAG AA and removed the points of failure. This provided an immediate impression of what worked and what didn’t, as shown in the in the animated comparison below.

我的第一個任務是將整個調色板映射為所有可能的前景文本和背景顏色組合的矩陣-有點像里程表。 然后,我針對WCAG AA分析了所有組合,并消除了故障點。 如下面的動畫比較中所示,這提供了對有效和無效的直接印象。

Animation of comparison of the existing palette with all colour combinations, and with combinations that fail WCAG removed.

That certainly got the stakeholders’ attention. Even some foreground/background combinations that passed, barely did so. I knew matters would become worse once I revised the matrix to that as viewed by the colour-blind. So I created three further versions of the matrix as viewed by those with:

這當然引起了利益相關者的注意。 即使通過了某些前景/背景組合,也幾乎沒有這樣做。 我知道一旦將矩陣修改為色盲所見的矩陣,情況就會變得更糟。 因此,我創建了矩陣的三個其他版本,這些版本被使用:

  • protanopia

    盲目
  • deuteranopia

    十足的
  • tritanopia

    Tritanopia

This revealed further points of failure, as the contrast in some instances dropped below the minimum, depending on the type of colour blindness in question.

這揭示了更多的故障點,因為在某些情況下,對比度下降到最小值以下,具體取決于所討論的色盲的類型。

The existing palette viewed by users deuteranopia, protanopia and tritanopia.

I presented all these variations of the matrix as an interactive PDF. Clicking buttons (not shown in these animations) allowed the stakeholders to navigate between them and immediately understand the impact.

我以交互式PDF形式展示了矩陣的所有這些變化。 單擊按鈕(這些動畫中未顯示)使涉眾可以在它們之間導航并立即了解影響。

By now, the horses — talking or otherwise — were well and truly frightened.

到現在為止,無論說話與否,這些馬匹都已經真正地受到了驚嚇。

擬議的新調色板 (The Proposed New Palette)

Dramatic changes to the palette was never going to fly — I had already been told that at the outset. So I identified those colours that caused most problems and tweaked them by increasing saturation and/or decreasing lightness just enough to bring the contrast into compliance (including for the colour-blind).

調色板的戲劇性變化永遠不會實現-一開始我已經被告知。 因此,我確定了導致大多數問題的那些顏色,并通過增加飽和度和/或降低亮度恰好使對比度達到標準(包括色盲)來對其進行了調整。

I presented the proposed palette (on the right, in the figure below) alongside the existing one (on the left). No changes to the five greys were necessary.

我在現有調色板(左側)的旁邊展示了擬議的調色板(右側,在下圖中)。 無需更改五個灰色。

The existing and proposed palette?—?no changes made to greyscale.

As it turned out, only four of the seven colours needed adjustment (and the change to the orange was barely perceptible). I was then able to remap the matrix, this time with the proposed new palette and showing only the foreground/background combinations that met with the WCAG AA contrast requirements, shown below.

事實證明,只有七種顏色中的四種需要調整(幾乎看不到橙色的變化)。 然后,我能夠使用建議的新調色板重新映射矩陣,并僅顯示滿足WCAG AA對比度要求的前景/背景組合,如下所示。

The proposed palette with combinations that meet WCAG standard.

結果 (The Result)

In my presentation, I compared the matrices of the existing colour palette with the proposed one, as shown below. If you look closely, you will see that the proposed palette yielded more accessible colour combinations than the existing one. This delighted the client which, by now, had fully accepted that the palette needed to change.

在我的演示中,我將現有調色板的矩陣與建議的調色板進行了比較,如下所示。 如果仔細觀察,您會發現建議的調色板比現有調色板產生了更多可訪問的顏色組合。 到目前為止,客戶已經完全接受了需要更改的調色板,這使客戶感到高興。

Matrix comparison of the existing and the proposed palettes with only colours conform to WCAG.

The result? The company did indeed change its corporate palette to the one I recommended, worldwide. I really cannot overstate what a big deal that is for a multinational. At a later time, over lunch, the head of digital inclusion told me that is was the way in which my analysis was presented that did the trick — it simply couldn’t be ignored.

結果? 該公司確實確實在全球范圍內將公司的調色板更改為我推薦的調色板。 我真的不能高估跨國公司的大事。 后來,在午餐時間,數字包容性負責人告訴我,正是通過這種方式我的分析才得以實現-簡直是不容忽視。

A conflation of contrast analysis, an understanding of how to subtly shift colours through saturation and lightness in HSL, and a blow-them-away interactive presentation. That’s all it took to move a mountain.

對比分析的混合體,了解如何通過HSL的飽和度和亮度巧妙地改變顏色,并進行互動演示。 這就是搬山的全部。

Colin Shanley has been a designer and author for more than 30 years. This article is abstracted from his book Colour in User Interface Design, available on Amazon or for direct purchase of the ePUB.

Colin Shanley一直是設計師和作家超過30年。 本文摘自他的書《 用戶界面設計中的顏色》 ( 可在Amazon上 購買或直接購買ePUB) 。

翻譯自: https://medium.com/sketch-app-sources/making-a-palette-accessible-554694dcf037

16位調色板和32位調色板

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/274909.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/274909.shtml
英文地址,請注明出處:http://en.pswp.cn/news/274909.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

從零開始發布自己的NPM包

大家好,我是若川。持續組織了6個月源碼共讀活動,感興趣的可以點此加我微信 ruochuan02 參與,每周大家一起學習200行左右的源碼,共同進步。同時極力推薦訂閱我寫的《學習源碼整體架構系列》 包含20余篇源碼文章。歷史面試系列在Ver…

flash不能訪問本地文件

flash出現"不能訪問本地資源";解決方案 linux下,如果沒有文件夾自行創建 在/home/{user}/.macromedia/Flash_Player/#Security/FlashPlayerTrust下面,隨便建個文本文件,比如1.txt 然后寫入路徑,最省事的辦法直接來個/ 兇…

Jest + React Testing Library 單測總結

大家好,我是若川。持續組織了6個月源碼共讀活動,感興趣的可以點此加我微信 ruochuan02 參與,每周大家一起學習200行左右的源碼,共同進步。同時極力推薦訂閱我寫的《學習源碼整體架構系列》 包含20余篇源碼文章。歷史面試系列1、背…

不怕神一樣的對手就怕豬一樣的隊友

“不怕神一樣的對手就怕豬一樣的隊友”這句話現在廣為流傳,實際上說的就是團隊重要性,一個好的團隊是可以克服很多你想象不大的困難, 做出你覺得不可能成績。 但是很多時候我們面臨的不是神一樣的對手,而是豬一樣的隊友&#xff0…

著迷英語900句_字體令人著迷

著迷英語900句I’m crazy about fonts. My favorite part of any text editing software is the drop down menu for picking fonts. When I look at any text, I try to identify the font. Roboto is my favorite font.我為字體瘋狂。 在任何文本編輯軟件中,我最喜…

hdu 2188悼念512汶川大地震遇難同胞——選拔志愿者(博弈)

簡單博弈就那樣&#xff0c;懂SG函數就成&#xff0c;最近做的博弈都千篇一律。。。 #include<cstdio> #include<cstring> #define N 11110 int sg[N],s[N],m,n; bool h[N]; void ssgg() {int i,j;sg[0]0;for(i1;i<N;i){ memset(h,0,sizeof(h));for(j1;j<n;j…

推薦一個大佬,文章適合偷偷讀!

大家好&#xff0c;我是若川。周末愉快。也許你看到這篇文章是周一的上午~我不得不推薦一位大佬給你&#xff01;這位大佬的文章很硬&#xff0c;卻一直在「抱怨沒有粉絲&#xff0c;沒人愿意分享」我去讀了讀&#xff0c;尼瑪這個「誰TM敢分享啊」&#xff0c;文章太「違規」了…

PERFORMANCE-MONITORING(轉)

Performance-Monitoring 是Intel提供的可以監測統計CPU內部所產生事件的一組方法。在Intel的手冊上介紹了兩類CPU事件監測方法&#xff1a;architectural performance monitoring 和 non-architectural performance monitoring。Architectural performance monitoring與平臺&am…

ux設計_為企業UX設計更好的數據表

ux設計重點 (Top highlight)If you have worked on enterprise products, you must have noticed the use of lots of data tables. Therefore, I am writing this article to collect the most common use cases and discuss how elegantly we can handle them.如果您使用過企…

hdu1728--------坑爹啊

尼瑪&#xff0c;就因為沒發現‘yes’寫成‘yrs’。整整讓哥找了一個小時的bug。有沒有..........此刻&#xff0c;內流滿面&#xff01; 分析&#xff1a; 開始以為是單純的BFS,結果WA無數次&#xff01;&#xff01; 后來分析后發現是要找到不超過轉向次數的轉向路徑, 最重要…

狼叔直播 Reaction《學習指北:Node.js 2022 全解析》

大家好&#xff0c;我是若川。持續組織了6個月源碼共讀活動&#xff0c;感興趣的可以點此加我微信 ruochuan02 參與&#xff0c;每周大家一起學習200行左右的源碼&#xff0c;共同進步。同時極力推薦訂閱我寫的《學習源碼整體架構系列》 包含20余篇源碼文章。歷史面試系列本文是…

figma下載_Figma中的高級圖像處理

figma下載Figma is not exactly suited for image manipulation, and that’s completely fine. While it does provide an ample amount of tools that let you apply some basic changes to your raster images, for anything more complex you need to look someplace else.…

ToString格式化

在很多對象顯示為字符串的時候都會使用到ToString中的格式化&#xff0c;由于以前沒怎么注意到這個問題&#xff0c;想總結一下各個基礎結構對象的格式化&#xff0c;以便后備之用&#xff01;&#xff01;&#xff01;Int.ToString(format): 格式字符串采用以下形式&#xff1…

xml學習4-dtd

1、DTD元素的定義 <?xml version"1.0" encoding"gb2312"?> <!--*表示0或者多個 表示至少要有一個 ?表示0個或者一個 內容模型 |表示只能包含分隔開中的一個 ,表示序列 下面是DTD元素的聲明 #PCDATA 表示字符數據 EMPTY表示 空元素…

指針和指針的指針_網絡上的iPad指針

指針和指針的指針a week ago I saw a new IPad Pointer presentation and was very excited about what they did. It was very interesting to see how they design different pointer modes and attention to details. Here is the presentation:一周前&#xff0c;我看到了一…

Vue 是如何用 Rollup 打包的?

大家好&#xff0c;我是若川。持續組織了6個月源碼共讀活動&#xff0c;感興趣的可以點此加我微信 ruochuan12 參與&#xff0c;每周大家一起學習200行左右的源碼&#xff0c;共同進步。同時極力推薦訂閱我寫的《學習源碼整體架構系列》 包含20余篇源碼文章。歷史面試系列Rollu…

leetcode 207課程表

class Solution { public:bool canFinish(int numCourses, vector<vector<int>>& prerequisites) {//驗證是否為DAG&#xff0c;每次驗證指向的是否已經存在于當前圖中//建圖vector<int> indegree(numCourses,0);//入度vector<vector<int>> …

2012-04-12

一.JS 中的return Return false&#xff1a;相當于一個終止符,用來阻止提交表單或繼續執行下面的代碼&#xff0c;只在當前函數有效&#xff0c;不會影響其他外部函數的執行 Eg: function a(){if(true) return false;} Function test{a();b();c();} //a方法中的return false 不…

sketch怎么傳到ps_2020年從Sketch移植到Figma的詳細指南

sketch怎么傳到psAs we’re locked up in our homes due to COVID-19 pandemic, many of us are working remotely and Figma is a go-to tool for designers for the same.由于COVID-19流行病使我們被關在家里&#xff0c;我們中的許多人都在遠程工作&#xff0c;而Figma是設計…

還沒搭建過Vue3.x項目?幾行代碼搞定~

大家好&#xff0c;我是若川。持續組織了6個月源碼共讀活動&#xff0c;感興趣的可以點此加我微信 ruochuan12 參與&#xff0c;每周大家一起學習200行左右的源碼&#xff0c;共同進步。同時極力推薦訂閱我寫的《學習源碼整體架構系列》 包含20余篇源碼文章。歷史面試系列相信現…