Skip to content

Commit

Permalink
docs: add todo note for s/p/rdef title
Browse files Browse the repository at this point in the history
  • Loading branch information
pkra committed Dec 10, 2023
1 parent 9e45d8d commit 2b1ebe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/aria.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ function ariaAttributeReferences() {
const container = item.parentNode;
const content = item.innerHTML;
const sp = document.createElement("h4");
let title = item.getAttribute("title");
let title = item.getAttribute("title"); // TODO: no rdef has title (same for sdef, pdef)
if (!title) {
title = content;
}
Expand Down

0 comments on commit 2b1ebe2

Please sign in to comment.