博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
css实现联动菜单隐藏功能_使用CSS的隐藏辅助功能消息
阅读量:2519 次
发布时间:2019-05-11

本文共 1202 字,大约阅读时间需要 4 分钟。

css实现联动菜单隐藏功能

While I was creating a Woot Checker for myself and you all, I was scanning through the page source code and saw something I had never seen before. I frequently browse the source code of the "big" websites but had never stumbled upon a hidden accessibility message.

当我为自己和所有人创建Woot Checker时,我正在浏览页面源代码,并且看到了以前从未见过的东西。 我经常浏览“大型”网站的源代码,但从未偶然发现隐藏的可访问性消息。

Why a hidden accessibility message? Because a hidden accessibility message is shown to the visually-impaired user and no one else. This message also shows your visually-impaired user that you care about their browsing experience. This easy additional can gain you the respect of your users.

为什么会有隐藏的可访问性消息? 因为向视障用户显示了一条隐藏的可访问性消息,但没有其他人显示。 此消息还会向您的视障用户表明您在乎他们的浏览体验。 这个简单的附加功能可以赢得用户的尊重。

XHTML代码 (The XHTML Code)

Welcome to the David Walsh Blog! This website was created to reach every audience possible.Please contact me at david@davidwalsh.name to let me know if I can do anything to furtherimprove your experience on this website.

CSS代码 (The CSS Code)

.accessibility { position: absolute; left: -9999px; font-size: small; }

Remember to place the paragraph at the top of your page's XHTML code!

请记住,将段落放在页面的XHTML代码的顶部!

翻译自:

css实现联动菜单隐藏功能

转载地址:http://ivvwd.baihongyu.com/

你可能感兴趣的文章
c语言单链表实现
查看>>
php无限极分类
查看>>
08——别让常逃离析构函数
查看>>
echarts.js中的图表大小自适应
查看>>
Linux总结
查看>>
Delphi的FIFO实现
查看>>
swt combo 自动补全
查看>>
一个自动上传ip到ftp服务器的bat脚本
查看>>
Hive配置优化
查看>>
《C与指针》第十三章练习
查看>>
vue 各种 import 引入
查看>>
python基础学习笔记——Python基础教程(第2版 修订版)第18章)(程序打包)
查看>>
用CHTCollectionViewWaterfallLayout写瀑布流
查看>>
[翻译] JNWSpringAnimation
查看>>
spring-beanFactory三
查看>>
git 语句记录
查看>>
mysql的安装
查看>>
银行客户流失预测
查看>>
PDA手持扫描资产标签,盘点完成后将数据上传到PC端,固定资产系统查看盘点结果...
查看>>
[deviceone开发]-do_ImageView实现正圆的示例
查看>>