以下HTML由jQuery网格插件插入:

<td role="gridcell" style="" aria-describedby="list_createdBy">Sam</td>

“ ARIA描述”属性的含义是什么?

有帮助吗?

解决方案

这在 ARIA规格. 。它提供了一个元素的ID,该ID提供了一些用户可能需要的有关当前元素的其他信息。

其他提示

以下是如何使用ARIA描述的属性的示例。当您有具有有关元素信息的文本时,它将使用。 ARIA描述必须与描述它的文本的ID相同。

First name: <input aria-describedby="name" type="text"> <em id="name">Your first name must be correct.</em>

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top