Skip to content

Commit

Permalink
Commit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
w3cgruntbot authored and github-actions[bot] committed Nov 19, 2024
1 parent 9933f7a commit f337b39
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
3 changes: 2 additions & 1 deletion ARIA/apg/patterns/listbox/examples/listbox-collapsible.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/listbox/examples/listbox-collapsible/

sidebar: true

footer: " <div class='example-page-footer'> <p><a href='https://github.com/orgs/w3c/projects/131'>View issues related to this example</a></p> <p>Page last updated: 22 October 2024</p> </div> "
footer: " <div class='example-page-footer'> <p><a href='https://github.com/orgs/w3c/projects/131'>View issues related to this example</a></p> <p>Page last updated: 19 November 2024</p> </div> "

# Context here: https://github.com/w3c/wai-aria-practices/issues/31
type_of_guidance: APG
Expand Down Expand Up @@ -129,6 +129,7 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
<div id="exp_wrapper">
<button type="button" aria-haspopup="listbox" aria-labelledby="exp_elem exp_button" id="exp_button">Neptunium</button>
<ul id="exp_elem_list" tabindex="-1" role="listbox" aria-labelledby="exp_elem" class="hidden">
<li id="exp_elem_None" role="option">None</li>
<li id="exp_elem_Np" role="option">Neptunium</li>
<li id="exp_elem_Pu" role="option">Plutonium</li>
<li id="exp_elem_Am" role="option">Americium</li>
Expand Down
2 changes: 1 addition & 1 deletion ARIA/apg/patterns/listbox/examples/listbox-grouped.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/listbox/examples/listbox-grouped/

sidebar: true

footer: " <div class='example-page-footer'> <p><a href='https://github.com/orgs/w3c/projects/131'>View issues related to this example</a></p> <p>Page last updated: 22 October 2024</p> </div> "
footer: " <div class='example-page-footer'> <p><a href='https://github.com/orgs/w3c/projects/131'>View issues related to this example</a></p> <p>Page last updated: 19 November 2024</p> </div> "

# Context here: https://github.com/w3c/wai-aria-practices/issues/31
type_of_guidance: APG
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/listbox/examples/listbox-rearrangeable/

sidebar: true

footer: " <div class='example-page-footer'> <p><a href='https://github.com/orgs/w3c/projects/131'>View issues related to this example</a></p> <p>Page last updated: 22 October 2024</p> </div> "
footer: " <div class='example-page-footer'> <p><a href='https://github.com/orgs/w3c/projects/131'>View issues related to this example</a></p> <p>Page last updated: 19 November 2024</p> </div> "

# Context here: https://github.com/w3c/wai-aria-practices/issues/31
type_of_guidance: APG
Expand Down
6 changes: 5 additions & 1 deletion ARIA/apg/patterns/listbox/examples/listbox-scrollable.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permalink: /ARIA/apg/patterns/listbox/examples/listbox-scrollable/

sidebar: true

footer: " <div class='example-page-footer'> <p><a href='https://github.com/orgs/w3c/projects/131'>View issues related to this example</a></p> <p>Page last updated: 22 October 2024</p> </div> "
footer: " <div class='example-page-footer'> <p><a href='https://github.com/orgs/w3c/projects/131'>View issues related to this example</a></p> <p>Page last updated: 19 November 2024</p> </div> "

# Context here: https://github.com/w3c/wai-aria-practices/issues/31
type_of_guidance: APG
Expand Down Expand Up @@ -116,6 +116,10 @@ if (enableSidebar) document.body.classList.add('has-sidebar');
<div>
<span id="ss_elem" class="listbox-label">Transuranium elements:</span>
<ul id="ss_elem_list" tabindex="0" role="listbox" aria-labelledby="ss_elem">
<li id="ss_elem_None" role="option">
<span class="checkmark" aria-hidden="true"></span>
None
</li>
<li id="ss_elem_Np" role="option">
<span class="checkmark" aria-hidden="true"></span>
Neptunium
Expand Down
2 changes: 1 addition & 1 deletion _external/data
Submodule data updated 1 files
+6 −1 translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ class ListboxButton {
case 'ArrowDown':
evt.preventDefault();
this.showListbox();
this.listbox.checkKeyPress(evt);
break;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ aria.Listbox = class Listbox {
if (this.activeDescendant) {
const listitem = document.getElementById(this.activeDescendant);
listitem.scrollIntoView({ block: 'nearest', inline: 'nearest' });
} else {
this.focusFirstItem();
}
}

Expand Down

0 comments on commit f337b39

Please sign in to comment.