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

@ -244,7 +244,7 @@ public class ProgramCompilerSpec extends BasicCompilerSpec {
return;
}
StringBuilder buffer = new StringBuilder();
buffer.append("<HTML>User-defined extensions failed to parse: ");
buffer.append("<html>User-defined extensions failed to parse: ");
buffer.append("<ul>");
for (String line : errorList) {
buffer.append("<li>").append(line).append("</li>");

View file

@ -57,9 +57,9 @@ public class DataTypeArchiveTransformerPanel extends JPanel {
private void setupDescription() {
JLabel label = new GHtmlLabel(
"<HTML>Specify the files for converting a new data type archive (.gdt)<BR>" +
"<html>Specify the files for converting a new data type archive (.gdt)<BR>" +
"to match the IDs of data types in an old data type archive.<BR>" +
"The result will be saved to the destination archive.</HTML>");
"The result will be saved to the destination archive.</html>");
label.setBorder(BorderFactory.createEmptyBorder(0, 0, 8, 0));
label.setHorizontalAlignment(SwingConstants.CENTER);
add(label, BorderLayout.NORTH);