diff --git a/lib/checks/lists/only-dlitems-evaluate.js b/lib/checks/lists/only-dlitems-evaluate.js index f4ab72b49f..266d42a560 100644 --- a/lib/checks/lists/only-dlitems-evaluate.js +++ b/lib/checks/lists/only-dlitems-evaluate.js @@ -1,6 +1,9 @@ import { isVisibleToScreenReaders } from '../../commons/dom'; import { getRole, getExplicitRole } from '../../commons/aria'; +/** + * @deprecated + */ function onlyDlitemsEvaluate(node, options, virtualNode) { const ALLOWED_ROLES = ['definition', 'term', 'list']; const base = { diff --git a/lib/checks/lists/only-listitems-evaluate.js b/lib/checks/lists/only-listitems-evaluate.js index dbcf22c25e..93ab74adfa 100644 --- a/lib/checks/lists/only-listitems-evaluate.js +++ b/lib/checks/lists/only-listitems-evaluate.js @@ -1,6 +1,9 @@ import { isVisibleToScreenReaders } from '../../commons/dom'; import { getRole } from '../../commons/aria'; +/** + * @deprecated + */ function onlyListitemsEvaluate(node, options, virtualNode) { let hasNonEmptyTextNode = false; let atLeastOneListitem = false;