Skip to content

Commit fd2e564

Browse files
committed
Accessibility labels & helpers for the Hash view.
1 parent 17f3178 commit fd2e564

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/resources/me/yurinero/hashana/hash-view.fxml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
<?import javafx.scene.layout.AnchorPane?>
77

88
<AnchorPane prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/23.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="me.yurinero.hashana.controllers.HashController">
9-
<TextArea fx:id="textInputArea" layoutX="382.0" layoutY="26.0" prefHeight="155.0" prefWidth="450.0" promptText="Input your text to be hashed here. Be aware of whitespace and newlines!" wrapText="true" />
10-
<ChoiceBox fx:id="hashChoice" layoutX="494.0" layoutY="193.0" prefHeight="25.0" prefWidth="87.0" />
11-
<TextArea fx:id="hashOutputField" editable="false" layoutX="383.0" layoutY="230.0" prefHeight="153.0" prefWidth="448.0" promptText="Your hash will appear here." wrapText="true" />
12-
<Button fx:id="hashConffirmButton" layoutX="591.0" layoutY="194.0" mnemonicParsing="false" onAction="#handleHashButtonClick" styleClass="hashConfirmButton" text="Hash it!" />
13-
<TextArea fx:id="hashInfoField" editable="false" layoutX="14.0" layoutY="26.0" prefHeight="361.0" prefWidth="353.0" promptText="Information about your chosen method." wrapText="true" />
9+
<TextArea fx:id="textInputArea" accessibleHelp="Input the text string you wish to hash here." accessibleText="Input Field" layoutX="382.0" layoutY="26.0" prefHeight="155.0" prefWidth="450.0" promptText="Input your text to be hashed here. Be aware of whitespace and newlines!" wrapText="true" />
10+
<ChoiceBox fx:id="hashChoice" accessibleHelp="Pick your desired hashing algorhitm." accessibleText="Algorhitm Choice" layoutX="494.0" layoutY="193.0" prefHeight="25.0" prefWidth="87.0" />
11+
<TextArea fx:id="hashOutputField" accessibleHelp="Your hashed string will appear here." accessibleText="Output Box" editable="false" layoutX="383.0" layoutY="230.0" prefHeight="153.0" prefWidth="448.0" promptText="Your hash will appear here." wrapText="true" />
12+
<Button fx:id="hashConffirmButton" accessibleHelp="Click this button to initiate the hashing of your entered string." accessibleText="Hash it!" layoutX="591.0" layoutY="194.0" mnemonicParsing="false" onAction="#handleHashButtonClick" styleClass="hashConfirmButton" text="Hash it!" />
13+
<TextArea fx:id="hashInfoField" accessibleHelp="Information about your selected hashing algorhitm will appear here." accessibleText="Information Box" editable="false" layoutX="14.0" layoutY="26.0" prefHeight="361.0" prefWidth="353.0" promptText="Information about your chosen method." wrapText="true" />
1414
</AnchorPane>

0 commit comments

Comments
 (0)