Re: [libreoffice-accessibility] issue for missing alt text copy and paste

2024-04-11 Thread Michael Weghorn

On 2024-04-11 08:42, Roberto Scano wrote:

Sorry i don't explain well. If I copy and paste image from a browser that
has alt text, during copy it miss alt text.


Thanks for the explanation.

I've tested that. For that to work, the corresponding data needs to be 
present in the clipboard after copying from the browser.


In a quick test, it works for me on Linux like this:

1) go to https://www.libreoffice.org/ in Firefox
2) copy the LibreOffice logo
3) open Writer
4) press Ctrl+Shift+V to open the "Paste Special" dialog
5) select "Hypertext Markup Language (HTML)" for the source format and 
press OK to paste


After that the alt text "logo" is set for the image in LibreOffice, 
which is the alt text set in HTML on the website, as can be seen with 
the wl-paste tool after copying in Firefox:


$ wl-paste -t text/html
style="width:230px; height:auto;" 
src="https://www.libreoffice.org/themes/libreofficenew/img/logo.png; 
alt="logo">


It does not work when just using Ctrl+V to paste instead of using "Paste 
Special", likely because some image format is used as the source and 
that doesn't contain the information on the alt text specified in HTML.


My test was with Firefox 115.9.1esr and a current development version of 
LibreOffice using the qt6 VCL plugin on Linux (Debian testing).


Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7d1dc5707edb992f62d0a4b5bf1e8395f71f6e7b
CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

--
To unsubscribe e-mail to: accessibility+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/accessibility/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-accessibility] issue for missing alt text copy and paste

2024-04-11 Thread Roberto Scano
Sorry i don't explain well. If I copy and paste image from a browser that
has alt text, during copy it miss alt text.

Il gio 11 apr 2024, 08:38 Michael Weghorn  ha scritto:

> On 2024-04-10 11:22, Roberto Scano wrote:
> > Another issue for images. When copy / paste and image, system shall copy
> > also the accessibility attribute "alt".
>
> I just tested the following:
>
> 1) start Writer
> 2) insert an image (via menu: Insert -> Image)
> 3) press F4 to open dialog to edit details
> 4) in the "Options" tab, enter "Some alternative" for "Text Alternative"
> 5) confirm with OK
> 6) select image
> 7) Ctrl+C to copy
> 8) open new Writer document
> 9) Ctrl+V to paste
> 10) check image properties of the pasted image
>
> Result:
> In the "Options" tab, "Some alternative" is set for "Text Alternative",
> just like in the original image.
>
> Does this not happen for you in the latest LibreOffice version? Or can
> you please explain in more detail what you mean that's missing?
>
>
> Version I used:
>
> Version: 24.2.0.3 (X86_64) / LibreOffice Community
> Build ID: 420(Build:3)
> CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: kf5
> (cairo+wayland)
> Locale: en-GB (en_GB.UTF-8); UI: en-GB
> Debian package version: 4:24.2.0-1
> Calc: threaded
>

-- 
To unsubscribe e-mail to: accessibility+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/accessibility/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-accessibility] issue for missing alt text copy and paste

2024-04-11 Thread Michael Weghorn

On 2024-04-10 11:22, Roberto Scano wrote:

Another issue for images. When copy / paste and image, system shall copy
also the accessibility attribute "alt".


I just tested the following:

1) start Writer
2) insert an image (via menu: Insert -> Image)
3) press F4 to open dialog to edit details
4) in the "Options" tab, enter "Some alternative" for "Text Alternative"
5) confirm with OK
6) select image
7) Ctrl+C to copy
8) open new Writer document
9) Ctrl+V to paste
10) check image properties of the pasted image

Result:
In the "Options" tab, "Some alternative" is set for "Text Alternative", 
just like in the original image.


Does this not happen for you in the latest LibreOffice version? Or can 
you please explain in more detail what you mean that's missing?



Version I used:

Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: 420(Build:3)
CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-GB
Debian package version: 4:24.2.0-1
Calc: threaded

--
To unsubscribe e-mail to: accessibility+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/accessibility/
Privacy Policy: https://www.documentfoundation.org/privacy


[libreoffice-accessibility] issue for missing alt text copy and paste

2024-04-10 Thread Roberto Scano
Another issue for images. When copy / paste and image, system shall copy
also the accessibility attribute "alt".

-- 
To unsubscribe e-mail to: accessibility+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/accessibility/
Privacy Policy: https://www.documentfoundation.org/privacy