Merge pull request 'release v3.11.4' (#313) from develop into master
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Reviewed-on: #313
This commit is contained in:
Simon Vieille 2024-01-27 10:47:53 +01:00
commit 810d83880b
6 changed files with 25 additions and 9 deletions

View file

@ -1,4 +1,12 @@
steps:
check-tag:
image: alpine
commands:
- TAG=${CI_COMMIT_TAG/v//}
- grep "<version>$TAG</version>" appinfo/info.xml
when:
event: [tag]
dependencies:
image: node:16
pull: true

View file

@ -1,5 +1,9 @@
## [Unreleased]
## 3.11.4
### Fixed
* add label on buttons for accessiblity (fix #311)
## 3.11.3
### Fixed
* fix menu icon in decks, collectives and other apps (#302)

View file

@ -32,7 +32,7 @@ Notice
Because I believe in a free and decentralized Internet, [Gitnet](https://gitnet.fr) is **self-hosted at home**.
In case of downtime, you can download **Custom Menu** from [here](https://kim.deblan.fr/~side_menu/).
]]></description>
<version>3.11.3</version>
<version>3.11.4</version>
<licence>agpl</licence>
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
<namespace>SideMenu</namespace>

View file

@ -15,11 +15,16 @@ You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<template>
<button class="side-menu-opener"></button>
<button class="side-menu-opener" :arial-label="label"></button>
</template>
<script>
export default {
name: 'OpenerButton',
data() {
return {
label: t('side_menu', 'Toggle menu'),
}
}
}
</script>

View file

@ -1115,19 +1115,19 @@ $labelAlwaysDisplayed = 'Always displayed';
</div>
<div class="section" id="more">
<button id="side-menu-save" class="btn btn-info">
<button id="side-menu-save" class="btn btn-info" arial-label="<?php p($l->t('Save')); ?>">
<?php p($l->t('Save')); ?>
<progress max="100" value="0" id="side-menu-save-progress"></progress>
</button>
<a href="<?php echo $urlGenerator->linkToRoute('side_menu.AdminSetting.exportConfiguration') ?>" target="_blank" rel="noopener">
<button class="btn btn-primary" >
<button class="btn btn-primary" arial-label="<?php p($l->t('Export the configuration')); ?>">
<?php p($l->t('Export the configuration')); ?>
</button>
</a>
<a href="<?php echo $urlGenerator->linkToRoute('side_menu.AdminSetting.removeCache') ?>">
<button class="btn btn-primary" >
<button class="btn btn-primary" arial-label="<?php p($l->t('Purge the cache')); ?>">
<?php p($l->t('Purge the cache')); ?> (<?php echo $cacheSize ?> Kb)
</button>
</a>
@ -1139,7 +1139,7 @@ $labelAlwaysDisplayed = 'Always displayed';
<?php p($l->t('You like this app and you want to support me?')); ?>
<a style="margin-left: 10px" target="_blank" href="https://www.buymeacoffee.com/deblan" rel="noopener">
<button>
<button arial-label="<?php p($l->t('Buy me a coffee ☕')); ?>">
<?php p($l->t('Buy me a coffee ☕')); ?>
</button>
</a>

View file

@ -240,8 +240,7 @@ $labelReset = 'Reset to default';
<div class="section">
<?php if (!$_['force']): ?>
<button id="side-menu-save" class="btn btn-info">
<?php p($l->t('Save')); ?>
<button id="side-menu-save" class="btn btn-info" arial-label="<?php p($l->t('Save')); ?>">
<progress max="100" value="0" id="side-menu-save-progress"></progress>
</button>
@ -255,7 +254,7 @@ $labelReset = 'Reset to default';
<?php p($l->t('You like this app and you want to support me?')); ?>
<a style="margin-left: 10px" target="_blank" href="https://www.buymeacoffee.com/deblan" rel="noopener">
<button>
<button arial-label="<?php p($l->t('Buy me a coffee ☕')); ?>">
<?php p($l->t('Buy me a coffee ☕')); ?>
</button>
</a>