- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我目前有这样的表格:
<form action="#">
<select {if $isPostRequest}disabled="disabled" {/if}size="1" name="locale"
onchange="location.href={if $languageToggleNoUser}'{$currentUrl|escape}{if strstr($currentUrl, '?')}&{else}?{/if}setLocale='+this.options[this.selectedIndex].value{else}('{url|escape:"javascript" page="user" op="setLocale" path="NEW_LOCALE" source=$smarty.server.REQUEST_URI}'.replace('NEW_LOCALE', this.options[this.selectedIndex].value)){/if}" class="selectMenu">{html_options options=$languageToggleLocales selected=$currentLocale}</select>
</form>
它目前会导致 WCAG 2.0 错误,如 all forms need a submit button .
我想知道如何更改此代码以包含提交按钮。 onchange选项的代码比较绕,没看懂。
谢谢。
最佳答案
WCAG 2.0 不需要提交按钮。您链接到的是一种技术,它具有信息性(非规范性),并且它只是实现指南 3.2.2 的众多可能方法之一。 .
所以它可以符合没有提交按钮,例如当
the user has been advised of the behavior before using the component
关于html - 更改表单以包含 WCAG 的提交按钮,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21819437/
WCAG 2.0 发布了,我们应该只遵循 WCAG 2.0 的指导方针,还是应该将两者结合,现在不需要考虑 WCAG 1.0? 或者,如果我正在考虑 WCAG 指南,那么我是否需要考虑任何其他指南以及
我需要在我的应用程序中有一个屏幕,它的所有内容都将使用屏幕阅读器自动读取。 我尝试添加 role="dialog" aria-live="assertive" aria-atomic="true"但它
为了使网站变得可访问,到目前为止,我的政策一直是遵循WCAG,不要再多了。我认为WCAG是彻底而完整的。因此,我认为,如果我遵循其中的每一项建议,从可访问性的 Angular 来看,我的网站都是无可指
如果这是一个相当简单的问题,请道歉。我有一个富文本区域字段设置为 XHTML 过渡和 WCAG 优先级 2。我看到某些验证/清理在富文本字段上的选项卡之间切换或保存组件时自动发生。但是,如果在成功保存
我正在尝试弄清楚如何使用 WCAG 标准标记一些代码,但遇到这种情况时有点复杂: Entry Method Upload file
我目前有这样的表格: {html_options options=$languageToggleLocales selected=$currentLocale} 它目前会导致 WCAG 2
我一直在尝试在 WCAG 或 WAI 指南中找到创建链接 anchor 的适当方法。 我目前有一个网站有这样的 anchor : Blah H2 Content 但由于我不想添加不必要的 CSS 只是
我在 ( ) 中有几个框的网格。每个框内都有一个包含一对/多个链接的列表(简单的 ul li 列表,包含 元素)。这个链接列表是隐藏的,它只在悬停时显示。 它工作得很好,但我有可访问性问题,即我无法
我正在使用 http://achecker.ca验证我的 HTML/CSS 并验证我是否符合 WCAG 2.0。在大多数情况下,我对它很满意,但它给了我一个不恰当的错误,这让我为获得干净的验证所做
我正在构建一个必须达到 WCAG AA 一致性的网站。 我们将提供视频,要做到这一点,必须有该视频的转录本,我的问题是,在 html 中,将此转录本放在前面、后面的正确顺序是正确的。有一个有效的标签来
我正在实现一个遵循 WCAG 指南 2.0 版的系统。 我有可编辑网格形式的表格数据,这是使用表格呈现的。我已经给出表格列标题并在表格单元格上使用范围属性。 通过 WAVE 工具,每个表单控件都应该有
我对 WCAG 2.0 Documentation 有点困惑.我有两个问题: 1) 在 H73: Using the summary attribute of the table element to
如果我要创建一个所有 HTML 内容均由 ReactJS 组件生成的网站,它是否符合 WCAG AA 级标准? IE。屏幕阅读器能够浏览通过 JavaScript 代码呈现的内容吗? 如果答案是肯定的
要求使网站与视力障碍者兼容 人员(符合WCAG 2.0)。 找到了一个在线工具Achecker,但似乎无法识别html 5 / bootstrap 属性。 如果有人可以推荐任何在线工具来检查是否存在
我正在开发一个由聊天机器人和动态表单元素组合而成的表单,这些元素根据不同的验证事件和选择而出现和消失。该表单逐渐显示下一步,前面的步骤看起来就像用户已经“聊天”了答案。 由于经常添加/删除大量元素,a
当禁用背景图像时,我们的页面无法通过 wcag 2.0 AA 验证。 (由于背景颜色) 我们想保持目前的深色背景,但如果图像是禁用。以下是问题的明智解决方案吗? bg_top 是主要的背景图像。 bg
我已尝试搜索,但似乎无法找到有关冗余链接和 WCAG 合规性的直接答案。 我有一个包含产品列表的产品系列/类别页面。每个产品都有产品图片、名称、价格和“了解更多”按钮。产品图片和“了解更多”按钮都指向
我正在设计一个网站,我想在其中使用不同颜色背景上的白色文本。不幸的是,其中 2 个背景没有提供足够的对比度以符合 WCAG 2.0 AA 标准。 文本是一个“阅读更多”链接。 我的问题是 - 如果链接
我正在尝试使网站符合 WCAG 标准并阅读了很多相关内容,但仍然存在一个问题: 如果文档有 HTML 错误,是否会被视为符合 WCAG 2.0 AA 标准? 以下是 Total Validator 生
我正在尝试开发一个符合 WCAG 标准的网络应用程序,当前为 codesniffer给了我很多: This element has a role of "button" but does not ha
我是一名优秀的程序员,十分优秀!