Improve focus visibility for action buttons in note editor#12003
Improve focus visibility for action buttons in note editor#12003Arpan200502 wants to merge 1 commit intoopenstreetmap:developfrom
Conversation
|
Can you post screeenshot from your testing? |
|
Is it working well also in dark mode? |
|
If your changes are only to the editor, then this repo is the correct place. Once this PR is merged and a new release made, it will find its way into the website without your engagement.
This isn't the case anymore since openstreetmap/openstreetmap-website#6565 migrated the dependency to npm. |
ok got it thanks |
@hlfan I’m trying to run the iD editor locally to test a fix, but the UI is not rendering properly. What I’m seeing
Environment
Steps I followedrm -rf node_modules package-lock.json dist
npm cache clean --force
npm install --include=dev --omit=optional
npm run build
npm startAdditional notes
Screenshots
Is there an additional step required to properly generate or load translations/assets for local development? Also, is this a known issue on Windows environments? Any guidance would be helpful, as I’m currently unable to verify my fix locally. |
|
@Arpan200502: |
|
also, you can look at build from
|




The current focus state for
button.actiononly changes the backgroundcolor slightly, which results in very low contrast when navigating with
the keyboard.
This change adds a visible focus outline for
button.action:focus-visibleso the focused button is clearly distinguishable during keyboard
navigation.
Fixes #11948