diff --git a/CHANGELOG.md b/CHANGELOG.md index 60928cc9..29ae40b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ With the new [mod_firewall](https://livingston.frama.io/peertube-plugin-livechat ### Minor changes and fixes +* #118: improved accessibility. * Avatar set for anonymous users: new 'none' choice (that will fallback to Converse new colorized avatars). * New translation: Albanian. * Translation updates: Crotian, Japanese, traditional Chinese. diff --git a/conversejs/build-conversejs.sh b/conversejs/build-conversejs.sh index a2838543..6e5874b3 100644 --- a/conversejs/build-conversejs.sh +++ b/conversejs/build-conversejs.sh @@ -32,6 +32,8 @@ CONVERSE_VERSION="livechat_converse_11" CONVERSE_COMMIT="1625f9b6ee81fa9ebd8df5cba306bde478f1943b" # 2024-08-06: including new getOccupantActionButtons hook (waiting for merge in Converse upstream) CONVERSE_COMMIT="5b35bd31c7e26c1f5396cd65eef69293d8b388c1" +# 2024-08-20: accessibility fixes +CONVERSE_COMMIT="7b00a2e0b4a13cea7800f4f100c2673785f94486" rootdir="$(pwd)" src_dir="$rootdir/conversejs" diff --git a/conversejs/custom/plugins/notes/templates/muc-note.js b/conversejs/custom/plugins/notes/templates/muc-note.js index 3ef2a6d4..16815e20 100644 --- a/conversejs/custom/plugins/notes/templates/muc-note.js +++ b/conversejs/custom/plugins/notes/templates/muc-note.js @@ -41,12 +41,12 @@ export function tplMucNote (el, note) { ` } - - ` diff --git a/conversejs/custom/plugins/poll/templates/poll.js b/conversejs/custom/plugins/poll/templates/poll.js index b95b1368..152a0f32 100644 --- a/conversejs/custom/plugins/poll/templates/poll.js +++ b/conversejs/custom/plugins/poll/templates/poll.js @@ -83,21 +83,21 @@ export function tplPoll (el, currentPoll, canVote) { return html`

${currentPoll.over - ? html`` : '' } ${el.collapsed ? html` - ` : html` - ` : html` -

- - - - diff --git a/conversejs/custom/templates/livechat-external-login-modal.js b/conversejs/custom/templates/livechat-external-login-modal.js index 52e33027..0bba91de 100644 --- a/conversejs/custom/templates/livechat-external-login-modal.js +++ b/conversejs/custom/templates/livechat-external-login-modal.js @@ -117,7 +117,7 @@ export const tplExternalLoginModal = (el, o) => {
${ externalButtons.map(button => html` - diff --git a/conversejs/custom/templates/muc-bottom-panel.js b/conversejs/custom/templates/muc-bottom-panel.js index 2f95bb13..91b12bb4 100644 --- a/conversejs/custom/templates/muc-bottom-panel.js +++ b/conversejs/custom/templates/muc-bottom-panel.js @@ -117,7 +117,7 @@ const tplViewerMode = (o) => { : html`
- diff --git a/conversejs/lib/plugins/livechat-specific/toolbar.ts b/conversejs/lib/plugins/livechat-specific/toolbar.ts index 5da6b3dc..32c4ce6f 100644 --- a/conversejs/lib/plugins/livechat-specific/toolbar.ts +++ b/conversejs/lib/plugins/livechat-specific/toolbar.ts @@ -43,7 +43,7 @@ function getToolbarButtons (this: any, toolbarEl: any, buttons: any[]): any { size="1em"> ` buttons.push(html` -