如何編寫數據庫可視化界面_編寫用于數據可視化的替代文本

如何編寫數據庫可視化界面

什么是替代文字 (What is Alt Text)

Alt text (sometimes called Alt tags or alternative text) are written descriptions added to images that convey the meaning of the visual. Good alt text helps more people understand the content. Assistive technology like screen readers reads the alt text out loud so users can hear and understand the visual content. People who use screen readers often have a vision impairment. This includes people who are totally blind, but also people with low or impaired vision.

Alt文本 (有時稱為Alt標記或替代文本)是添加到圖像的書面說明,傳達了視覺的含義。 優質的替代文字可幫助更多的人理解其內容。 諸如屏幕閱讀器之類的輔助技術會大聲朗讀alt文本,以便用戶可以聽到和理解視覺內容。 使用屏幕閱讀器的人經常有視力障礙。 這包括完全失明的人,也包括視力低下或受損的人。

Not writing alt text means that people miss out on content that is necessary, just because it’s visual. It means it’s not accessible.

不寫替代文本意味著人們會因為視覺內容而錯過必要的內容。 這意味著它不可訪問。

從Webaim定義的替代文字: (Alt Text defined from Webaim:)

It is read by screen readers in place of images allowing the content and function of the image to be accessible to those with visual or certain cognitive disabilities.

屏幕閱讀器代替圖像來讀取它,從而使視覺或某些認知障礙者可以訪問圖像的內容功能

It is displayed in place of the image in browsers if the image file is not loaded or when the user has chosen not to view images.

如果未加載圖像文件或當用戶選擇不查看圖像時,它將在瀏覽器中代替圖像顯示。

It provides a semantic meaning and description to images which can be read by search engines or be used to later determine the content of the image from page context alone.

它為圖像提供了語義含義和描述,可以被搜索引擎讀取或用于以后僅從頁面上下文確定圖像的內容。

There are many resources for how to write alt text generally (I list more at the end of this piece), but few that provide guidance for how to write descriptions for data viz.

通常有很多 資源來編寫替代文本(我在本文的結尾列出了更多),但是很少有資源為如何編寫數據說明提供指導。

如何為數據可視化編寫替代文本 (How to write for alt text for data visualization)

So how do you write something short that conveys the whole meaning of a visualization? You probably can’t. That doesn’t mean that you shouldn’t try.

那么,如何編寫簡短的內容來傳達可視化的全部含義呢? 你可能做不到。 這并不意味著您不應該嘗試。

  • Adding alt text is better than not doing anything at all if there’s meaningful information in the image.

    如果圖像中包含有意義的信息,則添加替代文本總比不執行任何操作更好。
  • Add a long description if you can add HTML, to more fully convey the meaning.

    如果可以添加HTML,請添加長說明 ,以更全面地傳達其含義。

  • Supplement with a link to the raw data, so curious readers can access the data in their own preferred program.

    補充原始數據的鏈接,以便好奇的讀者可以在自己的首選程序中訪問數據。
  • Keep your alt text short. Alt text is read linearly by screen readers, which means that people can’t go back a word if they missed something. For SEO purposes, Google cuts off after a certain amount of characters.

    保持替代文字簡短。 屏幕閱讀器會線性讀取Alt文本,這意味著人們如果錯過了某些內容就無法退縮一個單詞。 出于搜索引擎優化的目的,Google會在輸入一定數量的字符后將其截斷。

The World Wide Web Consortium (W3C), an international Web standards setting community, offers guidelines for alt text for complex images, but it can be difficult to interpret how to apply these to data visualization. Below, I interpret these guidelines to apply to charts and graphs. Refer to the W3C guidelines for nuance and compliance.

萬維網聯盟(W3C)是一個國際Web標準制定社區,它為復雜圖像提供替代文本準則 ,但是很難解釋如何將其應用于數據可視化。 在下文中,我解釋了這些指導原則以適用于圖表。 有關細微差別和合規性,請參閱W3C準則 。

Here’s a simple formula for writing alt text for data visualization:

這是編寫用于數據可視化的替代文本的簡單公式:

alt= “Chart type of type of data where reason for including chart” Include a link to data source somewhere in the text
Example alt-text format for data viz
數據可視化的替代文本格式示例

圖表類型 (Chart type)

It’s helpful for people with partial sight to know what chart type it is and gives context for understanding the rest of the visual. Example: Line graph

對于視力不佳的人來說,了解它是什么圖表類型并為理解其余視覺內容提供上下文很有幫助。 示例:折線圖

資料類型 (Type of data)

What data is included in the chart? The x and y axis labels may help you figure this out. Example: number of bananas sold per day in the last year

圖表中包含哪些數據? x和y軸標簽可以幫助您解決這一問題。 示例:去年每天出售的香蕉數量

包含圖表的原因 (Reason for including the chart)

Think about why you’re including this visual. What does it show that’s meaningful. There should be a point to every visual and you should tell people what to look for. Example: the winter months have more banana sales

考慮一下為什么要包含此視覺效果。 它表明什么是有意義的。 每個視覺效果都應該有重點,您應該告訴人們要尋找的東西。 示例:冬季的香蕉銷量增加

鏈接到數據或源 (Link to data or source)

Don’t include this in your alt text, but it should be included somewhere in the surrounding text. People should be able to click on a link to view the source data or dig further into the visual. This provides transparency about your source and lets people explore the data. Example: Data from the USDA

不要在替代文字中包含此內容,但應將其包含在周圍的文字中。 人們應該能夠單擊鏈接來查看源數據或進一步挖掘視覺效果。 這提供了有關您來源的透明性,并允許人們瀏覽數據。 示例:來自 USDA的 數據

簡單圖表替代文字示例 (Simple chart alt text example)

Bar chart of gun murders per 100,000 people where America’s murder rate is 6 times worse than Canada, and 30 times Australia

If I was posting this chart from the New York Times article “How to Reduce Shootings” on social media I would include a link to the article and write this alt text:

如果我是在社交媒體上發布《紐約時報》文章“ 如何減少槍擊事件 ”中的圖表,則將包括該文章的鏈接并撰寫以下替代文字:

Bar chart of gun murders per 100,000 people where America’s murder rate is 6 times worse than Canada, and 30 times Australia

復雜圖表替代文字示例 (Complex chart alt text example)

Colored stripes of chronologically ordered temperatures where they increase in red to show the warming global temperature

If I was posting a less typical chart type like the Warming Stripes from Ed Hawkins, I would include a link to the source and focus on the meaning behind them for the alt text:

如果我發布的是不太典型的圖表類型,例如Ed Hawkins的Waring Stripes ,那么我將包括指向源的鏈接,并著重關注alt文本背后的含義:

Colored stripes of chronologically ordered temperatures where they increase in red to show the warming global temperature

如何添加替代文字 (How to add alt text)

在HTML代碼中 (In HTML code)

Add alt text alt="" to any image that adds meaning inside the image tag <img>. Add a long description longdesc="" when possible.

將alt文本 alt=""添加到任何在圖像標簽<img>內添加含義的圖像。 如果可能,添加長描述 longdesc=""

在推特上 (On Twitter)

When you add an image, use the add description button or +alt. Twitter has full instructions.

添加圖像時,請使用添加描述按鈕+ alt 。 Twitter有完整的說明 。

Image for post
Image for post

在Instagram上 (On Instagram)

Instagram hides the alt text functionality, but there is documentation on how to add alt text.

Instagram隱藏了替代文本功能,但是有關于如何添加替代文本的文檔 。

  • Choose a filter and edit the image, then tap Next.

    選擇一個過濾器并編輯圖像,然后點擊下一步

  • Tap Advanced Settings at the bottom of the screen.

    點擊屏幕底部的高級設置

  • Tap Write Alt Text.

    點擊寫替代文本

在Microsoft Office產品中 (In Microsoft Office Products)

Microsoft Office has a variety of ways that you can add alt text depending on which program and what version you are using. However, they have extensive documentation on how to add alt text.

Microsoft Office有多種方式,您可以根據所使用的程序和所使用的版本來添加替代文本。 但是,他們有大量有關如何添加替代文本的文檔 。

在中等 (On Medium)

Click on the image in the post. Use the “Alt text” label to write your text.

點擊帖子中的圖片。 使用“替代文字”標簽來寫您的文字 。

Image showing Medium interface for adding alt text

By writing effective alternative text or alt text and including it when you publish data visualization you provide a way for people who cannot see the image to understand the content so they are not missing out on critical information. Having alt text is necessary in order for the visual content to be accessible.

通過編寫有效的替代文本或替代文本,并在發布數據可視化時將其包括在內,可以為看不見圖像的人提供一種理解內容的方式,從而使他們不會錯過重要信息。 為了使視覺內容可訪問,必須具有替代文本。

其他閱讀 (Other reading)

替代文字 (Alt text)

  • Web Accessibility Tutorials: Complex images| W3C

    Web無障礙教程:復雜圖像 | W3C

  • Alt Text & Accessibility | Web Aim

    替代文字和輔助功能 | 網絡目標

  • How to Write Great Image Alt Text | Catherine McNally

    如何編寫出色的圖像替代文字 凱瑟琳·麥克納利

  • The Right Way to Write Alt Text | Natalie Gotko

    寫替代文本的正確方法 娜塔莉(Natalie Gotko)

數據可視化的可訪問性 (Accessibility for Data Viz)

  • Data Visualization Accessibility: Where Are We Now, and What’s Next? | Melanie Mazanec

    數據可視化可訪問性:我們現在在哪里,下一步是什么? | 梅蘭妮·馬扎內克(Melanie Mazanec)

  • Why Accessibility Is at the Heart of Data Visualization | Doug Schepers

    為什么可訪問性是數據可視化的核心 道格·謝珀斯(Doug Schepers)

  • An intro to designing accessible data visualizations | Sarah L. Fossheim

    設計可訪問數據可視化的簡介 | 莎拉·福斯海姆(Sarah L.Fossheim)

  • 5 easy ways to make your data visualization more accessible | Amy Cesal

    5種使數據可視化更易于訪問的簡單方法 艾米·塞薩爾(Amy Cesal)

Thank you to Doug Schepers and Zander Furnas for reviewing

感謝 Doug Schepers Zander Furnas 的評論

Correction: The article previously stated that screen readers cut off reading alt text at 125 characters. This is outdated information and has been revised. Thanks to Zo? Bijl and Kevin White for the update.

改正 :先前文章指出 屏幕閱讀器截斷了125個字符的替代文本 這是 過時的信息 ,已經過修訂。 感謝 Zo?Bijl 和Kevin White的更新。

Amy Cesal is a designer specializing in data visualization. She is a co-founder of the Data Visualization Society and currently serves on the board. Amy is passionate about building style guidelines for data visualization, trying to make everything, including charts, accessible, creating bespoke data visualization and experimenting with the boundaries between data and art. She holds a masters in Information Visualization from MICA.

艾米·塞薩爾 ( Amy Cesal) 是一位專門從事數據可視化的設計師。 她是數據可視化協會的聯合創始人,目前擔任董事會成員。 艾米(Amy)對建立數據可視化樣式指南充滿熱情,力求使包括圖表在內的所有內容都可訪問,創建定制的數據可視化并嘗試數據與藝術之間的界限。 她擁有MICA的信息可視化碩士學位。

Image for post

翻譯自: https://medium.com/nightingale/writing-alt-text-for-data-visualization-2a218ef43f81

如何編寫數據庫可視化界面

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

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

相關文章

(轉)swc與swf的區別

在Flash Builder中用Actionscript寫的類可以打包成swc或swf&#xff0c; 在Flash CS中制作的元件也可以打包成swc或swf文件&#xff0c; 一個swc或swf文件中可以包含多個類或元件&#xff0c; 每個元件會映射成一個類&#xff0c; 因此&#xff0c;在Flash Builder中的類和在Fl…

js 驗證各種格式類型的正則表達式

<script src"scripts/jquery-1.4.1.js" type"text/javascript"></script> <script language"javascript" type"text/javascript"> /** * 定義驗證各種格式類型的正則表達式對象 */ var Regexs { email: …

reloaddata 跳動_紙跳動像素

reloaddata 跳動I would like to open with a problem.我想開一個問題。 Why are so many designer going straight to pixels?為什么這么多設計師直接使用像素&#xff1f; Over the past few years i’ve witnessed this in my team, my clients and others throughout th…

使用自定義RadioButton和ViewPager實現TabHost效果和帶滑動的頁卡效果。

參考自http://www.apkbus.com/android-86125-1-1.html 這篇文章技術含量一般&#xff0c;大家別見笑。源碼我以測試&#xff0c;在底部可下載。 好了先上效果圖&#xff1a; 以下是實現步驟&#xff1a; 1、準備自定義RadioButton控件的樣式圖片等&#xff0c;就是準…

利益相關者軟件工程_改善開發人員團隊與非技術利益相關者之間交流的方法

利益相關者軟件工程Whether you’re working on a startup or a big company, keeping your stakeholders and non-technical partners engaged and up to date on what the tech team has been building can be hard.無論您是在初創公司還是大公司中工作&#xff0c;都要讓您的…

Hibernate的檢索策略

Hibernate的Session在加載一個Java對象時&#xff0c;可以將與這個對象相關聯的其他Java對象都加載到緩存中&#xff0c;以便程序及時調用。但有些情況下&#xff0c;我們不需要加載太多無用的對象到緩存中&#xff0c;一來這樣會撐爆內存&#xff0c;二來增加了訪問數據庫的次…

響應式網格項目動畫布局_響應式網格及其實際使用方式:常見的UI布局

響應式網格項目動畫布局重點 (Top highlight)第二部分 (Part II) Now that you have a basic understanding of how to use grids, you might be wondering how to apply them to layouts you see on the web. Responsive grids are a method to systematically align your des…

SQL函數大全

SQL函數大全 --聚合函數use pubsgoselect avg(distinct price) --算平均數from titleswhere typebusinessgo use pubsgoselect max(ytd_sales) --最大數from titlesgo use pubsgoselect min(ytd_sales) --最小數from titlesgo use pubsgoselect type,sum(price),sum(advanc…

時間軸ui設計_我應該在UI設計上花更多時間嗎?

時間軸ui設計Let’s start with an example of communication skills: they are important for any profession, and you expect any professional to have a decent level. However, excellent communication skills won’t make up for the lack of core expertise. Imagine …

一、Oracle介紹

Oracle學習筆記 一、 Oracle介紹 選擇數據庫的標準 項目的規模 負載量多大&#xff0c;用戶量多少 成本 安全性 Oracle 認證 初級&#xff1a;OCA&#xff1a;Oracle Certificated Associate 中級&#xff1a;OCP&#xff1a;Oracle Certificated Professional 高級&#xff…

移動端分步注冊_移動應用程序的可用性測試:分步指南

移動端分步注冊Written by Justin Mifsud由賈斯汀米夫蘇德 ( Justin Mifsud)撰寫 The mobile market is huge and growing at a very fast rate. With an estimated 4.5 billion subscribers worldwide, it is forecasted that the number of mobile phones will surpass the …

ldd隨筆(1)-linux設備模型

一下只是個人學習后的理解&#xff0c;可能有很多不對的地方。 要學習linux的設備驅動模型&#xff0c;首先必須要知道kobject和kset的概念&#xff0c;下面是kobject在2.6.38的源碼中的實現。 struct kobject {const char *name; //名稱&#xff0c;可能在sysfs中創…

插圖 引用 同一行兩個插圖_提出食物主題中的插圖

插圖 引用 同一行兩個插圖I have a page in my portfolio, which is about search functionality. I wanted that page to feel fun and engaging, to convey a positive vibe, so I decided to add illustrations to it.我的投資組合中有一個頁面與搜索功能有關。 我希望該頁面…

Hadoop的SequenceFile讀寫實例

1 SequenceFile可以處理hdfs上大量小文件&#xff0c;它可以作為大量小文件的容器。HDFS和MapReduce是針對大文件優化的&#xff0c;所以通過SequenceFile類型將小文件包裝起來可以獲得更高效的存儲和處理。存儲2 在SequenceFile中的鍵和值并不一定是Writable類型&#xff…

臉部細微表情識別_您可以僅使用面部表情來控制字體嗎?

臉部細微表情識別原型 (The prototype) Facetype is the name of Adam’s interactive project, in which the emotions detected from a person’s facial gestures control a variable font. To each detected emotion corresponds a specific typeface, which keeps transfo…

ssky-keygen + ssh-copy-id 無密碼登陸遠程LINUX主機

使用下例中ssky-keygen和ssh-copy-id&#xff0c;僅需通過3個步驟的簡單設置而無需輸入密碼就能登錄遠程Linux主機。 ssh-keygen 創建公鑰和密鑰。 ssh-copy-id 把本地主機的公鑰復制到遠程主機的authorized_keys文件上。ssh-copy-id 也會給遠程主機的用戶主目錄&#xff08;ho…

uva10891Game of sum

題意:經典的取石子游戲是這樣的:有一堆石子&#xff0c;A、B兩個人輪流取&#xff0c;每次取一顆&#xff0c;只能從邊上取&#xff0c;每個石子有相應的價值&#xff0c;A、B兩人都想使得自己的價值最多&#xff0c;兩個人足夠聰明&#xff0c;問最后價值分別是多少 本題則是可…

用戶體驗設計師能為seo做_用戶體驗設計師可以從產品設計歷史中學到什么

用戶體驗設計師能為seo做Many things have changed from tool design in the prehistoric era to today’s digital product design. However, we can see surprisingly many similarities. Especially when it comes down to one particular aspect: usability.從史前時代的工…

函數指針

顧名思義&#xff0c;指針函數即返回指針的函數。其一般定義形式如下&#xff1a; 類型名 *函數名(函數參數表列); 其中&#xff0c;后綴運算符括號“()”表示這是一個函數&#xff0c;其前綴運算符星號“*”表示此函數為指針型函數&#xff0c;其函數值為指針&#xff0c;即它…

orton效果_如何使圖片發光:Orton效果

orton效果Have you ever seen an impossibly dream-like landscape photo? One with a slow burning, glowing sunset. That’s really the best way to describe it, the image looks as if it’s glowing. You might be thinking, “wow, I wish I was that good and could …