GP-4296 - Fixed screen reader support of tooltips using html

This commit is contained in:
dragonmacher 2024-02-06 17:29:55 -05:00
parent dffb5fd859
commit 0b0356528d
43 changed files with 349 additions and 342 deletions

View file

@ -182,7 +182,7 @@ public class StatusBar extends JPanel {
*/
public void setStatusText(String text) {
// Run this later in case we are in the midst of a Java focus transition, such as when a
// dialog is closing. If we don't let the focus transition finish, then we will not
// dialog is closing. If we don't let the focus transition finish, then we will not
// correctly locate the active window.
Swing.runLater(() -> doSetStatusText(text));
}
@ -278,7 +278,7 @@ public class StatusBar extends JPanel {
@Override
public String getToolTipText() {
if (messageQueue.size() > 0) {
StringBuffer buffer = new StringBuffer("<HTML>");
StringBuffer buffer = new StringBuffer("<html>");
Iterator<String> iter = messageQueue.iterator();
for (int i = 0; iter.hasNext(); i++) {