Skip to content

Commit

Permalink
fixes tl-its-umich-edu#1592 Screen reader bug - Add Unique Ids to Tex…
Browse files Browse the repository at this point in the history
…tFields (tl-its-umich-edu#1611)

* fixes tl-its-umich-edu#1592 Screen reader bug - Add Unique Ids to TextFields"

* drop extra curly brace
  • Loading branch information
jaydonkrooss authored Aug 20, 2024
1 parent 512f129 commit f7052b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/src/components/AssignmentGoalInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function AssignmentGoalInput (props) {
<StyledGrid item>
<StyledTextField
error={goalGradeInternal > 100 || mathWarning || goalGradeInternal > maxPossibleGrade}
id='standard-number'
id='minimum-goal'
value={goalGradeInternal}
label={
mathWarning
Expand Down
2 changes: 1 addition & 1 deletion assets/src/components/AssignmentTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ function AssignmentTable (props) {
<StyledTextField
error={(a.goalGrade / a.pointsPossible) > 1}
disabled={!courseGoalGradeSet}
id='standard-number'
id={`goal-grade-${key}`}
value={roundToXDecimals(a.goalGrade, placeToRoundTo(a.pointsPossible))}
label={
!courseGoalGradeSet
Expand Down

0 comments on commit f7052b5

Please sign in to comment.