Skip to content
Merged
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
1 change: 1 addition & 0 deletions frontend/wallet/app/InstallBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export function InstallBanner() {
</div>
<button
onClick={handleDismiss}
aria-label="Dismiss install prompt"
style={{ background: 'none', border: 'none', color: 'var(--warm-grey)', cursor: 'pointer', padding: '4px' }}
>
<X size={20} strokeWidth={1.5} />
Expand Down
2 changes: 2 additions & 0 deletions frontend/wallet/app/agent/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ export default function AgentPage() {
<header className="wallet-nav">
<button
onClick={() => router.back()}
aria-label="Back"
style={{ background: 'none', border: 'none', cursor: 'pointer', padding: '0.25rem', color: 'var(--warm-grey)', display: 'flex' }}
>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
Expand Down Expand Up @@ -579,6 +580,7 @@ export default function AgentPage() {
<button
onClick={clearHistory}
className="agent-header__action"
aria-label="Clear history"
title="Clear history"
>
<svg width="16" height="16" viewBox="0 0 24 24" fill="none">
Expand Down
1 change: 1 addition & 0 deletions frontend/wallet/app/contacts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export default function ContactsPage() {
<button
onClick={() => removeContact(contact.id)}
style={{ background: 'none', border: 'none', cursor: 'pointer', color: 'rgba(246,247,248,0.3)', padding: '0.5rem' }}
aria-label="Delete contact"
title="Delete contact"
>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
Expand Down
3 changes: 3 additions & 0 deletions frontend/wallet/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ function DashboardPageContent() {
}}
className='settings-button'
style={{ color: "var(--color-muted)"}}
aria-label={`Copy wallet address ${walletAddress.slice(0, 6)}…${walletAddress.slice(-6)}`}
title="Copy wallet address"
>
<span className="address-chip">
Expand Down Expand Up @@ -791,6 +792,7 @@ function DashboardPageContent() {
id="dashboard-prf-downgrade-dismiss"
onClick={() => setPrfDowngradeDismissed(true)}
style={{ background: 'none', border: 'none', cursor: 'pointer', color: 'var(--color-muted)', fontSize: '1rem', lineHeight: 1, padding: '0 0 0 0.5rem' }}
aria-label="Dismiss fee-payer warning"
title="Dismiss"
>
×
Expand Down Expand Up @@ -826,6 +828,7 @@ function DashboardPageContent() {
<button
onClick={() => setSweepDismissed(true)}
style={{ background: 'none', border: 'none', cursor: 'pointer', color: 'var(--color-muted)', fontSize: '1rem', lineHeight: 1, padding: '0 0 0 0.5rem' }}
aria-label="Dismiss stranded balance notice"
title="Dismiss"
>
×
Expand Down
1 change: 1 addition & 0 deletions frontend/wallet/app/multisig/components/Wizard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export default function Wizard({ onDeploySuccess }: WizardProps) {
justifyContent: "center",
fontSize: "1.125rem"
}}
aria-label="Remove signer"
title="Remove signer"
>
×
Expand Down
2 changes: 2 additions & 0 deletions frontend/wallet/app/nfts/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export default function NFTGalleryPage() {
color: 'var(--off-white)',
cursor: 'pointer',
}}
aria-label="Refresh NFTs"
title="Refresh NFTs"
>
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" style={{ animation: loading ? 'spin 1s linear infinite' : 'none' }}>
Expand Down Expand Up @@ -606,6 +607,7 @@ export default function NFTGalleryPage() {
setSelectedNFT(null)
setShowRawJson(false)
}}
aria-label="Close NFT details"
style={{ background: 'var(--surface-md)', border: 'none', color: 'var(--off-white)', width: '32px', height: '32px', borderRadius: '50%', cursor: 'pointer', fontSize: '1.25rem', display: 'flex', alignItems: 'center', justifyContent: 'center' }}
>
✕
Expand Down
5 changes: 5 additions & 0 deletions frontend/wallet/app/settings/agent/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default function AgentSettingsPage() {
<header className="wallet-nav">
<button
onClick={() => router.back()}
aria-label="Back to settings"
style={{ background: 'none', border: 'none', cursor: 'pointer', padding: '0.25rem', color: 'var(--warm-grey)', display: 'flex' }}
>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
Expand Down Expand Up @@ -77,6 +78,10 @@ export default function AgentSettingsPage() {
</div>
<button
onClick={() => setAgentEnabled(!agentEnabled)}
type="button"
role="switch"
aria-checked={agentEnabled}
aria-label="Veil Agent"
style={{
position: 'relative', width: '44px', height: '24px', borderRadius: '100px',
background: agentEnabled ? 'var(--gold)' : 'var(--surface-md)',
Expand Down
1 change: 1 addition & 0 deletions frontend/wallet/app/settings/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ export default function ProfileSettingsPage() {
<header className="wallet-nav">
<button
onClick={() => router.back()}
aria-label="Back to settings"
style={{ background: 'none', border: 'none', cursor: 'pointer', padding: '0.25rem', color: 'var(--warm-grey)', display: 'flex' }}
>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
Expand Down
1 change: 1 addition & 0 deletions frontend/wallet/app/token/[code]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ export default function TokenPage() {
{/* Nav */}
<nav className="wallet-nav">
<button onClick={() => router.back()}
aria-label="Back"
style={{ background: 'none', border: 'none', cursor: 'pointer', color: 'var(--warm-grey)', display: 'flex', padding: '0.25rem' }}>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
<path d="M19 12H5M12 19l-7-7 7-7" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"/>
Expand Down
1 change: 1 addition & 0 deletions frontend/wallet/components/ContactPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export function ContactPicker({ onSelect, onClose }: ContactPickerProps) {
</h3>
<button
onClick={onClose}
aria-label="Close contact picker"
style={{ background: 'none', border: 'none', cursor: 'pointer', color: 'rgba(246,247,248,0.4)', padding: '0.5rem' }}
>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none">
Expand Down