Aria-Hidden Là Gì

Welcome, If you are using a screen reader we recommover switching to “Full Access Mode”. This mode is designed khổng lồ help different types of navigation:

Each page is divided into sections and each section is described by a title (headings navigation).The most important sections are assigned to lớn a role (landmark navigation).On the top of each page you will find the quick links thực đơn (internal liên kết navigation). Each links is assigned to an accesskey (keyboard shortcut).quý khách hàng đang xem: Aria-hidden là gì

Bạn đang xem: Aria-hidden là gì

Night mode. Night mode: this mode sets low luminance. It increases readability in dark environments. It is also useful for some people with reading disabilities such as dyslexia.

Bạn đang xem: Aria-hidden là gì


Best PracticesDesignEditorial & LanguageElements và WidgetsFormsStructureTablesARIAAbout Accessibility




See Related:


Used in Roles:

All elements of the base markup (Global)No role required


true/falsetrue:Indicates that this section of the document and its children are hidden.false (default):Indicates that this section of the document is visible.

Indicates that theelementand all of its descendants are not visible orperceivabletoanyuser as implemented by the author.

If an element is only visible after some web10_user action, authors mustmix thearia-hiddenattributetotrue. When the element is presented, authors mustphối thearia-hidden attribute tofalseor remove sầu the attribute, indicating that the element is visible.

Some assistive technologies access ariainformation directly through theDOMand not through platform Supported by user’s assistive technologies as well as the accessibility features in browsers và other web10_user agents.

It is recommended that authors key visibility of elements off this attribute, rather than change visibility và separately have khổng lồ remember khổng lồ update this property. CSS 2 provides a way toselect on attribute values. The followingCSSdeclaration makes content visible unless thearia-hiddenattribute istrue; scripts need only update thevalueof this attribute khổng lồ change visibility:

visibility: hidden; Note: Authors are reminded thatvisibility:hiddenanddisplay:noneapply toallCSSmedia types; therefore, use of either will hide the nội dung from assistive technologies that access the DOM through a rendering engine.

However, in order to tư vấn assistive sầu technologies that access the DOM directly, or other authoring techniques to lớn visiblyhidecontent (for example, opađô thị oroff-screen positioning), authors need lớn ensure thearia-hiddenattribute is always updated accordingly when an element is shown or hidden, unless the intent of using off-screen positioning is to make the nội dung visible only lớn screen reader users & not others.

Xem thêm: Làm Thế Nào Để Tải Facebook Về Điện Thoại Và Máy Tính, Cách Tải Facebook Trên Điện Thoại

Authors may, with caution, use aria-hidden to lớn hide visibly rendered nội dung from assistive sầu technologiesonlyif the act of hiding this content is intended lớn improve the experience for users of assistive technologies by removing redundant or extraneous content.

Authors using aria-hidden lớn hide visible nội dung from screen readers mustensure that identical or equivalent meaning and functionality is exposed khổng lồ assistive sầu technologies.

Note: Authors are advised to use extreme caution và consider a wide range of disabilities when hiding visibly rendered nội dung from assistive sầu technologies. For example, a sighted, dexterity-impaired individual may use voice-controlled assistive sầu technologies lớn access a visual interface.

If an author hides visible links text “Go khổng lồ checkout” and exposes similar, yet non-identical liên kết text “Cheông chồng out now” khổng lồ the Operating systems & other platforms provide a set of interfaces that expose information aboutobjectsandeventstoassistive sầu technologies. Assistive sầu technologies use these interfaces khổng lồ get information about và interact with thosewidgets. Examples of accessibility APIs are theMicrosoft Active Accessibility, theMicrosoft User Interface Automation, theMacOS XAccessibility Protocol, theLinux/Unix Accessibility Toolkit andAssistive sầu Technology Service Provider Interface, andIAccessible2.

” data-tiptheme=”tipthemeflatdarklight”data-tipdelayclose=”500″data-tipeventout=”mouseout”data-tipmouseleave=”false”data-tipcontent=”html” class=”jqeasytooltip jqeasytooltip0″ id=”jqeasytooltip0″ title=”Accessibility API”>accessibility API, the web10_user may be unable to lớn access the interface they perceive using voice control. Similar problems may also arise for screen reader users. For example, a sighted telephone support technician may attempt to lớn have sầu the blind screen reader web10_user click the “Go to lớn checkout” links, which they may be unable lớn find using a type-ahead thắng lợi tìm kiếm (“Go to…”).

Note: Authors are advised to avoid usingaria-hidden=”false”with styles or attributes that have historically prevented rendering in all modalities, such as display:noneorvisibility:hiddenin CSS, or thehiddenattribute in HTML 5.

At the time of this writing,aria-hidden=”false”is known to work inconsistently when used in conjunction with such features. As future implementations improve sầu, use caution & test thoroughly before relying on this approach.

Note: For cross-browser compatibility, always use the ariaattribute syntax to access and modify ariaproperties, for exampleobject.setAttribute(“aria-valuenow”, newValue).


HTMLJavaScriptobject.setAttribute(“aria-hidden”,value);var value = object.getAttribute(“aria-hidden”);Microsoft Active Accessibility Properties: