🚹 feat: Miscellaneous Accessibility Improvements (#10913)

* 🔱 fix: Fork Menu Accessibility Improvements (#10910)

* feat: more accessible aria-label for fork button

* fix: alignment between text and checkbox

* feat: add text change on focus for parity with on hover for keyboard accessibility

* 🤔 fix: Programmatic Expansion State for Thinking Button (#10912)

* 🙋‍♂️ feat: Accessible Default User Icon Colors (#10909)

* fix: downshift values for all non-compliant default bg-colors for user icons to achieve 4.5:1 contrast threshold minimums with text

* 🚪 feat: Open Sidebar Label Accessibility (#10893)

* feat: more accessible labelling on open / close sidebar
This commit is contained in:
Dustin Healy 2025-12-11 07:42:28 -08:00 committed by Danny Avila
parent abcf606328
commit 4a0fbb07bc
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
5 changed files with 88 additions and 34 deletions

View file

@ -25,6 +25,24 @@ const useAvatar = (user: TUser | undefined) => {
seed,
fontFamily: ['Verdana'],
fontSize: 36,
backgroundType: ['solid'],
backgroundColor: [
'd81b60',
'8e24aa',
'5e35b1',
'3949ab',
'DB3733',
'1B79CC',
'027CB8',
'008291',
'008577',
'58802F',
'8A761D',
'9C6D00',
'B06200',
'D1451A',
],
textColor: ['ffffff'],
});
let avatarDataUri = '';