Google地图508无障碍功能 [英] Google Maps 508 accessibility without styles

查看:128
本文介绍了Google地图508无障碍功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

第508节的要求之一是页面不带样式表:


<§>§1194.22(d)它们是可读的,无需关联样式表。


我们目前面临的问题是Google地图在启用样式时无法运行去搞清楚)。地图上的所有不同部分都按顺序打印,没有任何意义。我在下面附上了一个示例图片。



有没有简单的方法可以解决这个问题?我唯一能想到的就是使用JavaScript来测试CSS是否被禁用(我知道,这是一件可怕的事情),然后移除地图div并用静态地图,显示相同的内容。 (如果JavaScript被禁用,那么这是一个有争议的问题,因为地图甚至不会加载。)显然,静态地图并没有包含所有相同的功能(缩放,平移等),但它提供了一个可读的页面。所以:


  • 是否有另一种方法可以使Google地图508符合风格禁用?

  • 如果不是,如何测试CSS被禁用以执行上述修复?



没有样式的示例地图:

解决方案

您指向的标准主要针对静态内容。由于谷歌地图是高度脚本化的,您可以在1194.21 - 软件应用程序中调用标准,并在地图后面有一个< noscript> 标签,并标注Google map显示 。可访问的版本位于_ __。



接下来,在测试Map时,要符合规定,所以您应该为该机构的第508条协调员的地图请求等效的促进例外。这可以让您提供Google地图,但您提供了获取信息的等效方法。如果Albert指出的静态方法是可以接受的,那么它的链接应该放在Google的附近,


One of the requirements of Section 508 is that pages be readable without stylesheets:

§ 1194.22 (d) Documents shall be organized so they are readable without requiring an associated style sheet.

We're currently facing a problem where Google Maps do not work without styles enabled (go figure). All the different pieces of the map just print out in order with no meaning. I've attached a sample image below.

Is there any easy way to deal with this? The only thing I can think of is to use JavaScript to test to see if CSS is disabled (a terrible thing to do, I know, I know) and then remove the map div and replace it with a static map that shows the same content. (If JavaScript is disabled too it's a moot point as the map won't even load.) Obviously the static map doesn't incorporate all the same functionality (zoom, pan, etc.), but it provides a readable page. So:

  • Is there another way to make Google Maps 508 compliant regarding styles disabled?
  • If not, how would one go about testing for CSS being disabled to do the fix described above?

Example map without styles:

解决方案

The Standard you are pointing to is mainly for static content. Since a Google Map is highly scripted, you would call upon the Standards in 1194.21 - Software Applications, and have a <noscript> tag following the map saying something like "Google map showing . An accessible version is at ___."

Next when testing the Map, it most likely fail to be compliant, so you should request an equivalent facilitation exception for the map from the agency's Section 508 coordinator. This allows you to serve up a Google Map, but you provide an equivalent method of getting the information. If the static method that Albert pointed to is acceptable, a link to it should be placed in proximity to the Google one,

这篇关于Google地图508无障碍功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆