diff --git a/.github/workflows/spelling-check-bot.yml b/.github/workflows/spelling-check-bot.yml index 9de17d76004142c..216d41efcbb7d1c 100644 --- a/.github/workflows/spelling-check-bot.yml +++ b/.github/workflows/spelling-check-bot.yml @@ -39,7 +39,16 @@ jobs: if [ -n "${output}" ]; then output=$(node scripts/linkify-logs.js "${output}") output=$(echo "$output" | sed 's/^/- /') + echo "Log size is ${#output} characters" echo "$output" + + # Trim output to avoid GraphQL 'Body is too long (maximum is 65536 characters)' error + maxLength=64000 + if [ ${#output} -gt ${maxLength} ]; then + output=$(echo "$output" | head -c $maxLength) + output+=$'\n...\n\n> [!WARNING]\n> The report is too long to be posted in full. Check the complete report in the [workflow logs](https://github.com/mdn/content/actions/runs/'"${GITHUB_RUN_ID}"$').' + fi + echo "OUTPUT<> "$GITHUB_OUTPUT" echo "$output" >> "$GITHUB_OUTPUT" echo "EOF" >> "$GITHUB_OUTPUT" diff --git a/.vscode/dictionaries/code-entities.txt b/.vscode/dictionaries/code-entities.txt index 4663e2826f428f5..f9e40a483b37592 100644 --- a/.vscode/dictionaries/code-entities.txt +++ b/.vscode/dictionaries/code-entities.txt @@ -22,6 +22,8 @@ accessibility.disablecache accessibilitysidebar acodec activetitlebarcolor +addonsidebar +addonsidebarmain addstream adduser adlm @@ -528,6 +530,7 @@ ontextformatupdate ontextupdate onuncapturederror onwebkitmouseforcewillbegin +onzoomlevelchange opendocument openidconnect openpgp4fpr @@ -740,6 +743,7 @@ tnsa todoapp togglecamera togglemicrophone +togglescreenshare toolbar-bgalignment toolbar-bgimage toolbaritem @@ -870,3 +874,4 @@ xpcnativewrappers xpidl xpinstall xywh +zoomlevelchange diff --git a/.vscode/dictionaries/proper-names.txt b/.vscode/dictionaries/proper-names.txt index e1b0b4dccadb7cc..c58ceed98be1a8a 100644 --- a/.vscode/dictionaries/proper-names.txt +++ b/.vscode/dictionaries/proper-names.txt @@ -74,6 +74,7 @@ Bynens Béziers caitmuenster Camino +Cammy Camtasia Canva Carakan @@ -92,6 +93,7 @@ Choyce chrisdavidmills Chromecast Chromeo +Chun-Li Cinepak Cipherlist.eu Clippy @@ -167,6 +169,7 @@ Eichenwald Eisenberg Elaina Elchi +Elfie Elly Emscripten Endtest @@ -241,6 +244,7 @@ Hoshi Hoth Hyperaudio Hönigswald +Ibuki Icecast idb-keyval Igalia @@ -252,6 +256,7 @@ Ionos Irena ITCSS ITEC +Jada Jalkhov jamiedoe Janc @@ -272,10 +277,12 @@ jpmedley JSCAMP jswebm Junxia +Juri Júnior Kadlec Kahlo Kaku +Kang Kaply Kaspersky Katari @@ -471,7 +478,9 @@ Roushan rsvg Rumyra Ryuno +Sagat Saionaro +Sakura Salame Salva Sandrina @@ -549,6 +558,7 @@ Tokopedia Tomayac Tonisha Transcribear +Transfonter Transformiix Trekhleb Trint @@ -613,6 +623,7 @@ Yuki Yura Zakas Zakirt +Zangief zantroke zantrokeregular Zaptec diff --git a/files/en-us/learn_web_development/core/accessibility/test_your_skills/html/index.md b/files/en-us/learn_web_development/core/accessibility/test_your_skills/html/index.md index 0e47576a43188a1..6e51325b2683abb 100644 --- a/files/en-us/learn_web_development/core/accessibility/test_your_skills/html/index.md +++ b/files/en-us/learn_web_development/core/accessibility/test_your_skills/html/index.md @@ -321,7 +321,7 @@ header { The accessibility issues are: -1. The header image is decorative, so doesn't need alt text. The best solution if you are going to use decorative HTML images is to put `alt=""`, so a screenreader will just read out nothing — rather than a description, or the image file name. It is not part of the content. +1. The header image is decorative, so doesn't need alt text. The best solution if you are going to use decorative HTML images is to put `alt=""`, so a screen reader will just read out nothing — rather than a description, or the image file name. It is not part of the content. 2. The gallery images need alt text, and they are part of the content. The updated HTML could look something like this: diff --git a/files/en-us/learn_web_development/core/accessibility/test_your_skills/wai-aria/index.md b/files/en-us/learn_web_development/core/accessibility/test_your_skills/wai-aria/index.md index 0e0eaea9a36312b..0c15868846adfb0 100644 --- a/files/en-us/learn_web_development/core/accessibility/test_your_skills/wai-aria/index.md +++ b/files/en-us/learn_web_development/core/accessibility/test_your_skills/wai-aria/index.md @@ -149,7 +149,7 @@ The problem we have now is that when the DOM changes to show a new description, To complete the task: 1. Click **"Play"** in the code block below to edit the example in the MDN Playground. -2. Update the HTML so that the description updates are announced by the screenreader. +2. Update the HTML so that the description updates are announced by the screen reader. > [!CALLOUT] > @@ -238,7 +238,7 @@ function handleSelection(e) { There are two ways to solve the problem outlined in this task: -- Add an `aria-live=""` attribute to the animal-description `
` to turn it into a live region, so when its content changes, the updated content will be read out by a screenreader. The best value is probably `assertive`, which makes the screenreader read out the updated content as soon as it changed. `polite` means that the screenreader will wait until other descriptions have finished before it starts reading out the changed content. -- Add a `role="alert"` attribute to the animal-description `
`, to make it have alert box semantics. This has the same effect on the screenreader as setting `aria-live="assertive"` on it. +- Add an `aria-live=""` attribute to the animal-description `
` to turn it into a live region, so when its content changes, the updated content will be read out by a screen reader. The best value is probably `assertive`, which makes the screen reader read out the updated content as soon as it changed. `polite` means that the screen reader will wait until other descriptions have finished before it starts reading out the changed content. +- Add a `role="alert"` attribute to the animal-description `
`, to make it have alert box semantics. This has the same effect on the screen reader as setting `aria-live="assertive"` on it. diff --git a/files/en-us/mozilla/firefox/releases/141/index.md b/files/en-us/mozilla/firefox/releases/141/index.md index 8ad647e6fb75155..2745e845d160916 100644 --- a/files/en-us/mozilla/firefox/releases/141/index.md +++ b/files/en-us/mozilla/firefox/releases/141/index.md @@ -95,7 +95,7 @@ Firefox 141 is the current [Beta version of Firefox](https://www.firefox.com/en- #### Marionette -- To avoid unnecessary 200ms delays for each call to `WebDriver:ElementClick` - even when no navigation occurrs - we lowered the click-and-wait timeout for a potential navigation to 50ms for backward compatibility. The [timeout is now also configurable](https://firefox-source-docs.mozilla.org/testing/marionette/Prefs.html#marionette-navigate-after-click-timeout) and [can be completely disabled](https://firefox-source-docs.mozilla.org/testing/marionette/Prefs.html#marionette-navigate-after-click-enabled) by users through a preference ([Firefox bug 1972271](https://bugzil.la/1972271)). +- To avoid unnecessary 200ms delays for each call to `WebDriver:ElementClick` - even when no navigation occurs - we lowered the click-and-wait timeout for a potential navigation to 50ms for backward compatibility. The [timeout is now also configurable](https://firefox-source-docs.mozilla.org/testing/marionette/Prefs.html#marionette-navigate-after-click-timeout) and [can be completely disabled](https://firefox-source-docs.mozilla.org/testing/marionette/Prefs.html#marionette-navigate-after-click-enabled) by users through a preference ([Firefox bug 1972271](https://bugzil.la/1972271)). - Added support in Marionette for interacting with CHIPS cookies (Cookies Having Independent Partitioned State) ([Firefox bug 1972830](https://bugzil.la/1972830)). ## Changes for add-on developers diff --git a/files/en-us/web/api/baseaudiocontext/state/index.md b/files/en-us/web/api/baseaudiocontext/state/index.md index 716de5ad2b9b464..9a86afcba8a17db 100644 --- a/files/en-us/web/api/baseaudiocontext/state/index.md +++ b/files/en-us/web/api/baseaudiocontext/state/index.md @@ -19,7 +19,7 @@ A string. Possible values are: - : The audio context has been closed (with the {{domxref("AudioContext.close()")}} method.) - `interrupted` {{experimental_inline}} - - : The audio context has been interrupted by an occurence outside the control of the web app. + - : The audio context has been interrupted by an occurrence outside the control of the web app. - `running` - : The audio context is running normally. - `suspended` diff --git a/files/en-us/web/api/mediastream_recording_api/index.md b/files/en-us/web/api/mediastream_recording_api/index.md index d4d9921fdaf5711..0be2d46f218c580 100644 --- a/files/en-us/web/api/mediastream_recording_api/index.md +++ b/files/en-us/web/api/mediastream_recording_api/index.md @@ -154,7 +154,7 @@ recordBtn.addEventListener("click", async () => { video.src = window.URL.createObjectURL(blob); }); mediaRecorder.addEventListener("error", (e) => { - console.error("An error occured:", e); + console.error("An error occurred:", e); }); } isRecording = true; diff --git a/files/en-us/web/api/screen_capture_api/captured_surface_control/index.md b/files/en-us/web/api/screen_capture_api/captured_surface_control/index.md index f5d20d393c9c7b9..7905dd8e187202a 100644 --- a/files/en-us/web/api/screen_capture_api/captured_surface_control/index.md +++ b/files/en-us/web/api/screen_capture_api/captured_surface_control/index.md @@ -87,7 +87,7 @@ Finally, we include a {{htmlelement("video")}} element to display the captured d ## App CSS -The app CSS is minimal; it is worth noting that we have given the `