From ffe5d814fc582770dde207219e56d600f61958d8 Mon Sep 17 00:00:00 2001 From: Al-Ghani Desta Setyawan Date: Wed, 24 Dec 2025 15:06:42 +0800 Subject: [PATCH] Enhance accessibility features across the application - Added skip link to main content in App component for better navigation - Implemented focus trap in ContributorModal and CreationStudio components to manage keyboard navigation - Added aria-labels and titles to various elements for improved screen reader support - Updated Footer and Navbar components with appropriate aria-labels for social media links and menu buttons - Improved Info page with aria-expanded attribute for FAQ buttons - Introduced .hintrc file for accessibility linting configuration --- .hintrc | 13 +++++++ App.tsx | 5 ++- components/ContributorModal.tsx | 52 +++++++++++++++++++++++++-- components/CreationStudio/index.tsx | 56 +++++++++++++++++++++++++++-- components/Footer.tsx | 4 +-- components/Navbar.tsx | 3 +- pages/Info.tsx | 4 +-- 7 files changed, 126 insertions(+), 11 deletions(-) create mode 100644 .hintrc diff --git a/.hintrc b/.hintrc new file mode 100644 index 0000000..e099e67 --- /dev/null +++ b/.hintrc @@ -0,0 +1,13 @@ +{ + "extends": [ + "development" + ], + "hints": { + "axe/aria": [ + "default", + { + "aria-valid-attr-value": "off" + } + ] + } +} \ No newline at end of file diff --git a/App.tsx b/App.tsx index 7d480d3..0c7831e 100644 --- a/App.tsx +++ b/App.tsx @@ -77,6 +77,9 @@ export default function App() { + + Langsung ke konten utama +
@@ -87,7 +90,7 @@ export default function App() {
-
+