From cd085798e6e1d1060211cc5608c05d4dd1940b28 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 10 Apr 2026 07:24:11 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20loading=20e?= =?UTF-8?q?xperience=20and=20accessibility?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Set background-color to hsl(220, 13%, 18%) to match theme and prevent white flash - Changed lang to 'es' to match content language - Added descriptive title to portfolio iframe for screen readers - Cleaned up redundant styles and invalid attributes Co-authored-by: dgalodesign <74675156+dgalodesign@users.noreply.github.com> --- .Jules/palette.md | 5 +++++ index.html | 18 +++--------------- style.css | 2 ++ 3 files changed, 10 insertions(+), 15 deletions(-) create mode 100644 .Jules/palette.md diff --git a/.Jules/palette.md b/.Jules/palette.md new file mode 100644 index 0000000..69992aa --- /dev/null +++ b/.Jules/palette.md @@ -0,0 +1,5 @@ +## 2025-05-14 - Loading Experience and Accessibility Improvements + +**Learning:** Providing a matching `background-color` on the parent container of an iframe prevents a "white flash" during loading, especially in dark-themed applications. Setting the correct `lang` attribute and descriptive `title` for iframes is crucial for screen reader accessibility. + +**Action:** Always check for dark theme background colors and apply them to the root document when wrapping external content in an iframe. Ensure semantic HTML attributes like `lang` match the primary content language. diff --git a/index.html b/index.html index 0ec0065..bb2dce5 100644 --- a/index.html +++ b/index.html @@ -1,24 +1,12 @@ - +