mirror of
https://github.com/HeyPuter/puter.git
synced 2026-08-24 15:07:17 +00:00
fix(dashboard): align the share dialog's accessible name with the properties modal
The dialog's aria-label read 'name - Share' with an em dash while the sibling properties modal uses plain 'name Properties'; screen readers announce the dash as noise. Use the same name-then-noun pattern.
This commit is contained in:
@@ -93,7 +93,7 @@ export default function UIShareModal ({ path: item_path, name, owner, fsentry, $
|
||||
|
||||
const $overlay = $(`
|
||||
<div class="share-modal-overlay">
|
||||
<div class="share-modal" role="dialog" aria-modal="true" tabindex="-1" aria-label="${html_encode(item_name)} — ${i18n('share')}">
|
||||
<div class="share-modal" role="dialog" aria-modal="true" tabindex="-1" aria-label="${html_encode(item_name)} ${i18n('share')}">
|
||||
<div class="share-modal-header">
|
||||
<div class="share-modal-title">
|
||||
<span class="share-modal-title-icon"></span>
|
||||
|
||||
Reference in New Issue
Block a user