Skip to content

Commit 43eed26

Browse files
fix: adding focus outline to swaps input to improve accessibility for keyboard and vision impaired users
1 parent f59ba9a commit 43eed26

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ui/pages/swaps/prepare-swap-page/index.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@
133133

134134
&__from-token-amount {
135135
border: 0;
136-
outline: none;
136+
margin-right: -4px;
137137

138138
input {
139-
padding-right: 0;
139+
padding-right: 4px;
140140
text-align: right;
141141
font-weight: var(--typography-s-heading-lg-font-weight);
142142
font-size: var(--typography-s-heading-lg-font-size);

ui/pages/swaps/prepare-swap-page/prepare-swap-page.js

+1
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,7 @@ export default function PrepareSwapPage({
893893
display={DISPLAY.FLEX}
894894
justifyContent={JustifyContent.spaceBetween}
895895
alignItems={AlignItems.center}
896+
gap={4}
896897
>
897898
<SelectedToken
898899
onClick={onSwapFromOpen}

0 commit comments

Comments
 (0)