Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
## 2026-04-12 - Focus Visible Styles
**Learning:** In custom components, applying global `:focus-visible` to interactive elements improves keyboard accessibility natively without specific component overrides.
**Action:** Use global pseudo selectors for standard interactive elements if component-level focus states are missing, ensuring accessibility without bloat.

## 2026-07-12 - Unwrapped Native Form Inputs need explicit ARIA labels
**Learning:** In custom views (like `RoleEditor.tsx` or `ReportBadGroupDialog.tsx`), raw inputs (`<input>`, `<textarea>`) often bypass generic wrapped components, causing them to lack proper accessibility. Specifically, depending solely on the `placeholder` attribute makes them less reliable for screen readers.
**Action:** When working with raw `input` or `textarea` elements, always check for an explicit `aria-label` or an associated `id`/`<label>`. Add `aria-label` if they are missing.
2 changes: 1 addition & 1 deletion activity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"devDependencies": {
"@axe-core/playwright": "^4.10.0",
"@playwright/test": "^1.58.2",
"@playwright/test": "^1.61.1",
"@sentry/vite-plugin": "^5.2.0",
"@storybook/addon-a11y": "^10.3.5",
"@storybook/addon-docs": "^10.3.5",
Expand Down
1 change: 1 addition & 0 deletions activity/src/components/RoleEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ export function RoleEditor({ player, onMediaUrlChange, hideSitOut, isProfileEdit
type="text"
className="role-editor-input"
placeholder="PlayerName-ServerName"
aria-label="In-Game Name"
value={inGameName}
onChange={(e) => handleNameChange(e.target.value)}
maxLength={50}
Expand Down
124 changes: 65 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/shared/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export {
parseSeasonPairs,
} from './seasonPairs.js';

export type { SeasonPairs } from './seasonPairs.js';

export { generateInviteCommand } from './inviteCommand.js';

export { getUtilitiesForClass, getRoleForSpec } from './classData.js';
Expand Down
Loading