If the fourth board card gets turned before the betting round is finished, @@ -315,7 +315,7 @@
A one-off is usually just backed up if no one has acted behind them. @@ -323,7 +323,7 @@
Somebody shoving in less than a full raise — say $3 more when the last @@ -338,7 +338,7 @@
Bet more than anyone was able to call and the excess is returned to you @@ -348,7 +348,7 @@
The most common argument at a home table. A player facing a bet who @@ -364,7 +364,7 @@
At least as much again as the last raise, or the big blind if there @@ -375,7 +375,7 @@
When a chopped pot won't divide evenly, the odd chip goes to the first @@ -385,7 +385,7 @@
A bet is whatever goes in on the first trip to the stack, unless the diff --git a/JoshHeaps.Net/wwwroot/js/casino/holdem/main.js b/JoshHeaps.Net/wwwroot/js/casino/holdem/main.js index abcbcc8..2badb52 100644 --- a/JoshHeaps.Net/wwwroot/js/casino/holdem/main.js +++ b/JoshHeaps.Net/wwwroot/js/casino/holdem/main.js @@ -478,7 +478,15 @@ document.addEventListener("DOMContentLoaded", () => { const jump = document.createElement("button"); jump.type = "button"; jump.className = "rulingsIndexBtn"; - jump.textContent = heading.textContent; + // A short label where the ruling gives one. The headings are sentences — + // "A short all-in doesn't reopen the betting" — and nine of those stacked + // one per row made the index 342px tall on a phone, which is most of the + // sheet before the first ruling. "Short all-in" says the same thing to + // somebody who is looking for it, and three fit on a line. + jump.textContent = section.dataset.short || heading.textContent; + // The full heading is still what it announces, so the short label never + // costs a screen reader the sentence. + if (section.dataset.short) jump.setAttribute("aria-label", heading.textContent); jump.addEventListener("click", () => { section.scrollIntoView({ block: "start", behavior: "smooth" }); // The heading is what the dealer is now reading, so that is where the