adding tab index to operations panel

This commit is contained in:
j264415 2024-02-09 17:25:52 +00:00
parent c13997bdb1
commit 65b058fd68
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class HTMLCategory {
*/
toHtml() {
const catName = "cat" + this.name.replace(/[\s/\-:_]/g, "");
let html = `<div class="panel category">
let html = `<div class="panel category" tabIndex="0">
<a class="category-title" data-toggle="collapse" data-target="#${catName}">
${this.name}
</a>

View file

@ -46,7 +46,7 @@ class HTMLOperation {
* @returns {string}
*/
toStubHtml(removeIcon) {
let html = "<li class='operation'";
let html = "<li tabIndex='0' class='operation'";
if (this.description) {
const infoLink = this.infoURL ? `<hr>${titleFromWikiLink(this.infoURL)}` : "";